Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Uncaught:RangeError:Maximum call stack size exceeded

$
0
0

@Xieguoiang wrote:

The reason for this error is that I have read some of the past topics, and I got a circular reference in the data, but I need a little bit of help from the goJS team.
1.The data structure is:
nodeDataArray
[{key:1},{key:2},{key:3}…]
linkDataArray
[{from:1,to:2},{from:2,to:3}]
Is this a circular reference? Here from:1 is the init type. But is it actually the object whose key is 1? A bit confused
2. There is a problem with this stack overflow, which aspect to check for for goJS. (Of course, in javascript, there is usually an infinite loop)
3. If it is really the first question, then how to solve it? Because this data I need to keep

Thanks!

Posts: 8

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles