Connection - React Flow
The Connection type is the basic minimal description of an
Edge between two nodes. The
addEdge util can be used to upgrade a Connection to
an Edge.
NameTypeDefault
sourcestringThe id of the node this connection originates from.
targetstringThe id of the node this connection terminates at.
sourceHandlestring | nullWhen not null, the id of the handle on the source node that this connection originates from.
targetHandlestring | nullWhen not null, the id of the handle on the target node that this connection terminates at.