Fix update link - #44
Conversation
prevent weird data assignation behavior
…link.data changed
|
Re-checked this against current The bug it was written for (stale const g = createGraph();
g.addLink(1, 2, {w: 1});
g.addLink(1, 2, {w: 2}); // update
g.removeLink(g.getLink(1, 2));
// graph links: 0, node1.links.size: 0 ✅Same result for multigraphs and self-loops. What is left in the diff is the I have not touched the branch. Happy for you to close it — flagging rather than leaving it sitting in your queue. |
No description provided.