-
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
I want to prevent nodes from disappearing from the screen. #1338
Comments
@rainingdaewoo I also have this problem sometimes when drawing the graph using ForceAtlas algorithm. Did you find a way to prevent it ? |
@joaopfg ForceAtlas2 bugs out for me in that manner when you pan the camera before there's anything in the graph. Once you add nodes it goes crazy and disappears. I think it has to do with some viewport bs and their fake scaling. I "fixed" it by adding an overlay that blocks mouse input to the graph when its node count is 0. This might be fixable by only adding nodes within viewport coordinates, but I haven't explored that yet. |
When i move the nodes while dragging the mouse, they disappear from the screen. I want to prevent nodes from disappearing from the screen.
The text was updated successfully, but these errors were encountered: