ConnectionLineProps
The ConnectionLineProps type is the set of props Vue Flow passes to a custom
connection line through the #connection-line slot — the from* / to*
coordinates and positions, the source node and handle, the pointer, and the
connection status.
Fields
| Name | Type | Default |
|---|---|---|
fromX | numberX start position of the connection line | |
fromY | numberY start position of the connection line | |
fromPosition | Positionthe side of the start handle | |
toX | numberX end position of the connection line (the current pointer) | |
toY | numberY end position of the connection line (the current pointer) | |
toPosition | Positionthe side of the end handle | |
fromNode | InternalNode<NodeType>the node the connection started from | |
fromHandle | HandleBounds | nullthe handle the connection started from (not the DOM element) | |
toNode | InternalNode<NodeType> | nullthe node the connection currently ends on, or | |
toHandle | HandleBounds | nullthe handle the connection currently ends on (not the DOM element), or | |
markerStart | stringmarker url | |
markerEnd | stringmarker url | |
connectionStatus | ConnectionStatus | nullIf there is an | |
pointer | XYPositionthe raw pointer position in flow coordinates (unsnapped, unlike |