pycodestyle
pycodestyle copied to clipboard
Align snapTo based on Grid dots if grid and snapTo is the same size
The (default) gridWith is 22px big. If the snapTo is also set to 22px the alignment of the nodes should be based on the Grid dots.
Current behavior:
Expected behavior (Screenshot from React Flow):
Hi! I've tried to force this behavior on v8 with a custom background component (with background-image: radial-gradient(), position & size), but didn't succeed for now. Just don't have time to finish it properly. Maybe I'll return to this later.
And, yeah, that is expected behavior out-of-box if we take React Flow as a prototype.
Maybe an easy solution could be to align the background grid with x: 0 and y: 0?
Currently x: 0 and y: 0 is in the center of 4 dots.
And instead making one dot as the anchor for x: 0 and y: 0 like this:
Maybe an easy solution could be to align the background grid with
x: 0 and y: 0?
Have you tried zoom?