initial working mod with nodeId and handleId split up in Connection type so that target-target and source-source connections cannot be made

This commit is contained in:
jasonpul
2020-10-01 12:48:56 -04:00
parent c558019de6
commit bee2ca5c0c
6 changed files with 130 additions and 191 deletions
+2
View File
@@ -239,6 +239,8 @@ export type OnLoadFunc = (params: OnLoadParams) => void;
export interface Connection {
source: ElementId | null;
target: ElementId | null;
sourceHandle: ElementId | null;
targetHandle: ElementId | null;
}
export enum ConnectionLineType {