What is the (0,0) reference for Node positions ? #995
-
Hello, The position of "MySuperCoolTable2" (Source node) is As you can see the Could you please give us more context about how the positions are calculated and what is the (0,0) for vueflow |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
It's calculated from your mouse position projected onto the viewport, you can think of the coordinates as pixels basically. Where did you read the positions from? The node itself? |
Beta Was this translation helpful? Give feedback.
If you don't move the viewport at all (i.e. no dragging, no fit view etc.) the 0,0 coordinates are top-left.
See this example.