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
{{ message }}
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.
Using network.storePositions() will put the X and Y positions of all nodes into the dataset.
That way whenever the network is redrawn the nodes will stay in place.
If your layout is not hierarchical, the randomSeed option prevents the shape to change... with no need to store the positions. Of course, this solution will not keep the shape unchanged if new nodes are added or if nodes are removed from the graph.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Every time you update the "network" shape always changes, how can you make the shape unchanged?
The text was updated successfully, but these errors were encountered: