Skip to content

Interface: ConnectionLineProps ​

Table of contents ​

Properties ​

Properties ​

connectionStatus ​

• connectionStatus: null | ConnectionStatus

status of the connection (valid, invalid)


markerEnd ​

• markerEnd: string

marker url


markerStart ​

• markerStart: string

marker url


sourceHandle ​

• sourceHandle: null | HandleElement

The source handle element (not the DOM element) of the connection line


sourceNode ​

• sourceNode: GraphNode<any, any, string>

The source node of the connection line


sourcePosition ​

• sourcePosition: Position

Source position of the connection line


sourceX ​

• sourceX: number

Source X position of the connection line


sourceY ​

• sourceY: number

Source Y position of the connection line


targetHandle ​

• targetHandle: null | HandleElement

The target handle element (not the DOM element) of the connection line


targetNode ​

• targetNode: null | GraphNode<any, any, string>

The target node of the connection line


targetPosition ​

• targetPosition: Position

Target position of the connection line


targetX ​

• targetX: number

Target X position of the connection line


targetY ​

• targetY: number

Target Y position of the connection line

Released under the MIT License.