ato-water-lib 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
@@ -3507,7 +3507,8 @@ class AtoDefaultGojsEditor {
|
|
3507
3507
|
if (this.animationInterval) {
|
3508
3508
|
clearInterval(this.animationInterval);
|
3509
3509
|
}
|
3510
|
-
|
3510
|
+
const diagramDiv = document.getElementById(`${this.myDiagramDiv}`);
|
3511
|
+
this.myDiagram = this.$(go.Diagram, diagramDiv, this.initialOptions);
|
3511
3512
|
// this.myDiagram.initialPosition = new go.Point(0, 0);
|
3512
3513
|
this.addOrRemoveCompoentTemplate();
|
3513
3514
|
this.makeLinkTemplate();
|