refactor(wrapNode): simplify dragging behaviour

This commit is contained in:
moklick
2020-09-11 16:36:23 +02:00
parent 36a81ff499
commit d17e6ebaea
4 changed files with 32 additions and 48 deletions
+2
View File
@@ -279,6 +279,8 @@ const GraphView = ({
onNodeDragStart={onNodeDragStart}
onlyRenderVisibleNodes={onlyRenderVisibleNodes}
selectNodesOnDrag={selectNodesOnDrag}
snapToGrid={snapToGrid}
snapGrid={snapGrid}
/>
<EdgeRenderer
edgeTypes={edgeTypes}