-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to stop the graph from resizing? #256
Comments
FYI - you can see this issue most clearly in the drag-nodes example. If you open the example and then zoom out a bit and try to move a node to the edge of the screen. All of the other nodes group together and you keep zooming out until you are left with just two points. |
By defining |
+1! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I am currently using the recently added dragNodes plugin - which is terrific so thanks very much @jacomyal and @josemazo. One thing I would like to be able to do is stop the graph from resizing when a user drags a node. At the moment dragging a node just a little bit can cause all of the other nodes to shrink together, i.e. it causes some fairly dramatic resizing. I've tried changing a few of the settings but couldn't work out how to turn off this resizing when dragging. The autoRescale setting had some effect but the initial graph in that case was then very small.
Any suggestions would be much appreciated.
The text was updated successfully, but these errors were encountered: