feat(core): add nodeDragThreshold option

This commit is contained in:
braks
2023-10-06 18:00:01 +02:00
committed by Braks
parent ed31890e4a
commit e71a2aa4ef
4 changed files with 63 additions and 33 deletions
+1
View File
@@ -105,6 +105,7 @@ function defaultState(): State {
nodesFocusable: true,
nodesConnectable: true,
nodesDraggable: true,
nodeDragThreshold: 0,
elementsSelectable: true,
selectNodesOnDrag: true,
multiSelectionActive: false,