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.
@@ -3518,7 +3518,8 @@ class AtoDefaultGojsEditor {
3518
3518
  if (this.animationInterval) {
3519
3519
  clearInterval(this.animationInterval);
3520
3520
  }
3521
- this.myDiagram = this.$(go.Diagram, this.myDiagramDiv, this.initialOptions);
3521
+ const diagramDiv = document.getElementById(`${this.myDiagramDiv}`);
3522
+ this.myDiagram = this.$(go.Diagram, diagramDiv, this.initialOptions);
3522
3523
  // this.myDiagram.initialPosition = new go.Point(0, 0);
3523
3524
  this.addOrRemoveCompoentTemplate();
3524
3525
  this.makeLinkTemplate();