Docs

connectionDrop

Emitted when a connection line is dropped, including pointer event details.

CategoryEdge Events
Typeoutput<{ position: XYPosition; event: PointerEvent; sourceNodeId: string; sourceHandleId?: string }>

Interactive example

Diagram canvas

Interact with nodes and edges. Drag port-to-port to fire connect events.

Event log

No events logged yet.