Hi!
First of I'd like to thank you guys for this awesome work. I'm sure it's a lot of work to maintain this library and it's greatly appreciated.
I have the functionality to add new nodes when clicking on any of the existing nodes. I do this by adding an entry to layout.nodes([...oldNodes, newNode]) and calling layout.start(). First off, is this the way to add new nodes in WebCola?
Second thing would be that the nodes really jump around when adding new ones. That is confusing because it's hard to know which node I just clicked. Is there a way to prevent the nodes jumping like this?
Hi! First of I'd like to thank you guys for this awesome work. I'm sure it's a lot of work to maintain this library and it's greatly appreciated.
I have the functionality to add new nodes when clicking on any of the existing nodes. I do this by adding an entry to
layout.nodes([...oldNodes, newNode])
and callinglayout.start()
. First off, is this the way to add new nodes in WebCola?Second thing would be that the nodes really jump around when adding new ones. That is confusing because it's hard to know which node I just clicked. Is there a way to prevent the nodes jumping like this?
Thanks