-
Notifications
You must be signed in to change notification settings - Fork 179
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
Snap-to-grid #8
Comments
Zoom level is a consideration here too. It would be easier to snap to grid when zoomed all the way out if grid size = node size. |
Snap-to-grid doesn't seem to be working in SVG branch, @forresto |
I haven't put it in, thinking that it would conflict with autolayout. @automata can klay return xy values that are all %36? If not, it could be a good time to make it snap to other nodes ... that would work with klay's layered approach. |
Currently node dragging is 100% accurate, following your pointer (though, see #5). This makes graphs fiddly and easily messy-looking. We should instead implement a snap-to-grid feature. The sizing of that grid is another question... even a 10 pixel grid could be helpful, but on the bigger end we could even impose a grid of the same size as the nodes are.
The text was updated successfully, but these errors were encountered: