refactor(connectionLine): create connection line type enum
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user