Open mmailaender opened 7 months ago
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?
The (default)
gridWith
is22px
big. If thesnapTo
is also set to22px
the alignment of the nodes should be based on the Grid dots.Current behavior:![image](https://github.com/open-source-labs/Svelvet/assets/87228994/89bf05d5-fa1f-41d3-b44f-49fd78008566)
Expected behavior (Screenshot from React Flow):![image](https://github.com/open-source-labs/Svelvet/assets/87228994/ec5f197a-d350-4d7a-a385-bb979c4711d2)