Facing exception during diagram loading

Exception:
RangeError: Maximum call stack size exceeded
at ru.get (go-debug.mjs:2372:315)
at Y.layoutTree (go-debug.mjs:2297:77)
at Y.layoutTree (go-debug.mjs:2297:117)
at Y.layoutTree (go-debug.mjs:2297:117)
at Y.layoutTree (go-debug.mjs:2297:117)
at Y.layoutTree (go-debug.mjs:2297:117)
at Y.layoutTree (go-debug.mjs:2297:117)
at Y.layoutTree (go-debug.mjs:2297:117)
at Y.layoutTree (go-debug.mjs:2297:117)
at Y.layoutTree (go-debug.mjs:2297:117)

Screenshot:
image

Lauout:
this.myDiagram = $(go.Diagram, “myDiagramDiv”,
{
“BackgroundSingleClicked”: function (de) { //to Clear Highlighted Nodes
var ie = de.diagram.clearHighlighteds();
},
allowCopy: false,
allowDelete: false,
contentAlignment: go.Spot.Center,

    layout:
      $(go.TreeLayout,
        {
           angle: 90,
           sorting: go.TreeLayout.SortingReverse,
          arrangement: go.TreeLayout.ArrangementVertical,
          layerSpacing: 65,
        }),
    maxSelectionCount: 1,
    scale: 0.80,
    "undoManager.isEnabled": true,
    "toolManager.mouseWheelBehavior": go.ToolManager.WheelZoom,
    "InitialLayoutCompleted": e => {
      var node: any = null;
      setTimeout(() => focusOnNode(node),  //Diagram Initial View Focus First Generated Node
        e.diagram.animationManager.duration);
    }
  });

Note: Node data and link data is large but no recursive data present.
Nodedata Count: 2661
Linkdata Count: 2660

What does the focusNode function do?

Are you able to reproduce this problem in a simple example you can send us? TreeLayout typically is fast even for large graphs and we haven’t seen any infinite loops.

1.focusOnNode is used to focus and scroll my first generated node to center.

2.Not Possible to reproduce same problem with simple Example, because after split
link data in pieces its work, only whole link data combination throwing exception, I am facing issue with link data.

3.I want to share my node and link data with you, how can I share?

Note: 1. specially at some links its throwing Exception and there is no syntax difference.

You can email us at gojs AT nwoods.com