fix(connectionline): draw line from handle where user starts closes #270

This commit is contained in:
moklick
2020-06-01 23:14:14 +02:00
parent 08948df140
commit ce32d34c6b
6 changed files with 41 additions and 30 deletions
+5
View File
@@ -160,6 +160,11 @@ export enum ConnectionLineType {
export type OnConnectFunc = (connection: Connection) => void;
export type SetConnectionId = {
connectionNodeId: ElementId | null;
connectionHandleType: HandleType | null;
};
export interface HandleElement extends XYPosition, Dimensions {
id?: ElementId | null;
position: Position;