Connection
Source on GitHub (opens in a new tab)
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
.
export type Connection = {
source: string | null;
target: string | null;
sourceHandle: string | null;
targetHandle: string | null;
};
Fields
Name | Type |
---|---|
# source | string | null |
# target | string | null |
# sourceHandle | string | null |
# targetHandle | string | null |