Closed TusharRakheja closed 8 years ago
After the default 0 and 1, the next node added is numbered 3, instead of 2. I believe this bug is in line 28 in graph.js.
lastNodeId = 2, should be lastNodeId = 1, I believe. (But I'm not sure about anything JavaScript, so. :P)
lastNodeId = 2,
lastNodeId = 1,
Indeed I forgot to update lastNodeId when I used a different initial configuration.
lastNodeId
Thanks for testing!
After the default 0 and 1, the next node added is numbered 3, instead of 2. I believe this bug is in line 28 in graph.js.
lastNodeId = 2,
should belastNodeId = 1,
I believe. (But I'm not sure about anything JavaScript, so. :P)