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

Snapping Node Dimensions to Grid, except when Moving #431

Open
prmr opened this issue May 31, 2021 · 0 comments
Open

Snapping Node Dimensions to Grid, except when Moving #431

prmr opened this issue May 31, 2021 · 0 comments
Assignees
Labels
main Issues with the main code base visuals Improvements to the general look and style of the diagrams
Milestone

Comments

@prmr
Copy link
Owner

prmr commented May 31, 2021

Currently, the position of the nodes is snapped to the grid, but their dimensions (width and height) are not.

image

It might be interesting to find a way to snap the dimensions of the nodes to the grid as well. However, this can be tricky, because simply snapping the diagram elements' bounds in the viewer creates an undesirable "jitter" effect when moving the nodes. For a really smooth experience, the nodes' view should not be snapped when moving them.

One design idea is to snap the bounding box to the grid multiple while moving. This will naturally snap to grid once the position is snapped to grid.

@prmr prmr added main Issues with the main code base visuals Improvements to the general look and style of the diagrams labels May 31, 2021
@prmr prmr added this to the Release 3.3 milestone May 31, 2021
@prmr prmr self-assigned this May 31, 2021
@prmr prmr changed the title Restore Snapping Nodes to Grid Snapping Node Dimensions to Grid, except when Moving Jun 29, 2021
@prmr prmr modified the milestones: Release 3.3, Wish List Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
main Issues with the main code base visuals Improvements to the general look and style of the diagrams
Projects
None yet
Development

No branches or pull requests

1 participant