Connection
Connection
型別是兩個節點之間Edge
的基本最小描述。
export type Connection = {
source: string | null;
target: string | null;
sourceHandle: string | null;
targetHandle: string | null;
};
欄位
名稱 | 型別 |
---|---|
# source | string | null |
# target | string | null |
# sourceHandle | string | null |
# targetHandle | string | null |