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
I have a problem with clearing and loading all nodes again.
This is the sequence that i use to clear the nodes
graph.clear();//remove all nodes
loadAllNodes(); This will perform an ajax call that will load the nodes and then run renderer.run() at the completion of the call
Within the loadAllNodes i used graph.beginUpdate(); and graph.endUpdate() to addNode and addLink
There will be an error TypeError: toNode.position is undefined.
What should the correct sequence be for clearing all nodes and reloading them?
Do i need to pause the renderer?
Thanks, I will try to submit a jsfiddle with the probelm
The text was updated successfully, but these errors were encountered:
Looks like layout did not properly initialized nodes. I recently changed how it works, potentially it should fix this issue too. Could you please get the latest version of vivagraph and verify?
I have a problem with clearing and loading all nodes again.
This is the sequence that i use to clear the nodes
graph.clear();//remove all nodes
loadAllNodes(); This will perform an ajax call that will load the nodes and then run renderer.run() at the completion of the call
Within the loadAllNodes i used graph.beginUpdate(); and graph.endUpdate() to addNode and addLink
There will be an error TypeError: toNode.position is undefined.
What should the correct sequence be for clearing all nodes and reloading them?
Do i need to pause the renderer?
Thanks, I will try to submit a jsfiddle with the probelm
The text was updated successfully, but these errors were encountered: