Cleanup of jasonpul's connection-validation branch

This commit is contained in:
Naden
2020-10-27 14:51:54 +11:00
8 changed files with 73 additions and 45 deletions
+4
View File
@@ -60,6 +60,8 @@ export interface Edge {
type?: string;
source: ElementId;
target: ElementId;
sourceHandle?: ElementId;
targetHandle?: ElementId;
label?: string;
labelStyle?: CSSProperties;
labelShowBg?: boolean;
@@ -243,6 +245,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 {