Skip to Content
Vue Flow v2 is here and joins xyflow! Read more here →
ReferenceTypes

NodeConnection

The NodeConnection type describes a connection attached to a node — the source / target, the handle ids, and the edgeId. It’s what useNodeConnections() returns.

Fields

NameTypeDefault
sourcestring

The id of the node this connection originates from.

targetstring

The id of the node this connection terminates at.

sourceHandlestring | null

When not null, the id of the handle on the source node that this connection originates from.

targetHandlestring | null

When not null, the id of the handle on the target node that this connection terminates at.

edgeIdstring