Skip to Content
πŸ“£ We just released Svelte Flow 1.0 Alpha β€” try it out and give us your feedback!
ReferenceTypesNodeOrigin

NodeOrigin

The origin of a Node determines how it is placed relative to its own coordinates. [0, 0] places it at the top left corner, [0.5, 0.5] right in the center and [1, 1] at the bottom right of its position.

export type NodeOrigin = [number, number];
Last updated on