Skip to content
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

Closed
bergie opened this issue Oct 15, 2013 · 4 comments
Closed

Snap-to-grid #8

bergie opened this issue Oct 15, 2013 · 4 comments

Comments

@bergie
Copy link
Member

bergie commented Oct 15, 2013

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.

@forresto
Copy link
Collaborator

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.

@forresto
Copy link
Collaborator

screen shot 2013-10-18 at 8 14 58 pm
snapped clock graph

@bergie
Copy link
Member Author

bergie commented Feb 20, 2014

Snap-to-grid doesn't seem to be working in SVG branch, @forresto

@bergie bergie reopened this Feb 20, 2014
@forresto
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants