Skip to Content
Vue Flow v2 is here and joins xyflow! Read more here →
ReferenceTypes

ControlPosition

Source on GitHub 

The ControlPosition type is used by the position prop of the <NodeResizeControl /> component to define where on the node the control is placed. Line controls use the four sides, while handle controls can also be placed in the four corners.

type ControlLinePosition = 'top' | 'bottom' | 'left' | 'right'; type ControlPosition = ControlLinePosition | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';