refactor(connectionLine): create connection line type enum

This commit is contained in:
moklick
2020-05-29 18:53:23 +02:00
parent 714c916121
commit c620d0f40c
5 changed files with 37 additions and 15 deletions
+5
View File
@@ -153,6 +153,11 @@ export interface Connection {
target: ElementId | null;
}
export enum ConnectionLineType {
Bezier = 'bezier',
Straight = 'straight',
}
export type OnConnectFunc = (connection: Connection) => void;
export interface HandleElement extends XYPosition, Dimensions {