-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Vis + Vue, when addNode all nodes are affected by the last added node #3142
Comments
I'm sorry, I don't see this happening in the first Exactly what should I do in the example to get the behavior you report? Perhaps I have to do something special. |
Well, please try to click the ADD NODE button more than twice, and you should see those added node's label become the same. As expected, each node's label should be a random number @wimrijnders |
Aaah, ok. It's the labels of the new nodes that show this behavior. Thanks for the explanation. |
How can I resolve this problem? Turns out that v4.17.0 dosen't have this problem @wimrijnders |
@DanielWLam To answer that, I'll have to investigate how it happens. I ask for your patience, this is one of many things I need to do. |
@DanielWLam In your opinion, is this issue by any chance a duplicate of #2567? |
@wimrijnders umm.. maybe these two issues are caused by the same problem, though they are not exactly the same. I solved it with the solution mentioned in #2567 . However, I hope it could be fixed as soon as possible. |
@DanielWLam I've found the root problem for this; please see the discussion in #2567 for explanation. |
Duplicate of #2567. |
Thank you very much! @wimrijnders |
When I add a node, I expect it's label should be unique, however, when working with vue and Vis(version >= 4.19.1), all the nodes's label would be changed to the last added node's label. Here is an example:
https://jsfiddle.net/348d58jc/1/
It's weired.
But when I search the old issue, I find out this jifiddle didn't have such problem... As you can see, all the node has its own label:
https://jsfiddle.net/8u84ud3s/
The text was updated successfully, but these errors were encountered: