You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught TypeError: Cannot read property 'neighbours' of undefined.
it is emanating from the following loop, any idea why is this happening?
cola.js line 3332
Watch Expressions
"i ": Object
length: 144
source: "ds"
target: "sdf"
while (i--) {
var e = this.es[i];
var u = getSourceIndex(e), v = getTargetIndex(e);
var d = getLength(e);
this.neighbours[u].neighbours.push(new Neighbour(v, d));
this.neighbours[v].neighbours.push(new Neighbour(u, d));
}
The text was updated successfully, but these errors were encountered:
I get the same error, I also read this ticket: tgdwyer/WebCola#128 but I don't know why in my code, some nodes take the linking (link 1 from image) but some not (link 0 from image). Those nodes are already in my nodes array.
Uncaught TypeError: Cannot read property 'neighbours' of undefined.
it is emanating from the following loop, any idea why is this happening?
cola.js line 3332
Watch Expressions
"i ": Object
length: 144
source: "ds"
target: "sdf"
The text was updated successfully, but these errors were encountered: