Skip to content

LinkingActionState

since v0.8.0

State tracking an edge creation operation in progress.

optional cancelReason: EdgeDrawCancelReason

Reason the linking gesture was cancelled (set by finishLinking on failure paths).


optional dropPosition: Point

Position where the pointer was released.


sourceNodeId: string

ID of the node where the edge starts.


sourcePortId: string

ID of the port where the edge starts.


temporaryEdge: null | Edge<object>

Temporary edge displayed while creating the connection.