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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user