-
well.. i usually place node as spherical form. this won't be problem if rectangle is square. under is the way i wanna place.. |
Beta Was this translation helpful? Give feedback.
Answered by
moklick
Feb 9, 2023
Replies: 1 comment 2 replies
-
You can use the |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Pleizz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the
nodeOrigin
prop. By default it's[0, 0]
. You want to set it to[0.5, 0.5]
. https://reactflow.dev/docs/api/react-flow-props/#nodeorigin