ConnectEndEvent
The ConnectEndEvent type is the payload of the @connect-end event, fired when a
connection interaction finishes (whether or not it produced a connection). It carries
the native event and the final connection state, so you can react even when no edge
was created — e.g. to add a node where the connection was dropped.
Fields
| Name | Type | Default |
|---|---|---|
event | MouseTouchEventThe DOM event that ended the connection attempt. | |
connectionState | FinalConnectionState<InternalNode<NodeType>>The final connection state — validity plus the from/to handles and nodes. |