refactor(drag-edge): only handle when update function is passed

This commit is contained in:
moklick
2020-11-26 15:17:31 +01:00
parent 2f40a83b47
commit d17562e1a1
5 changed files with 52 additions and 6376 deletions
+2 -1
View File
@@ -122,7 +122,8 @@ export interface WrapEdgeProps {
elementsSelectable?: boolean;
markerEndId?: string;
isHidden?: boolean;
onEdgeUpdate?: OnEdgeUpdateFunc;
handleEdgeUpdate: boolean;
onConnectEdge: OnConnectFunc;
}
export interface EdgeProps {