Commit Graph
152 Commits
Author SHA1 Message Date
moklick 47b95f7250 refactor(edge): update background when label changes 2021-02-25 17:40:16 +01:00
moklick ebbc192b8d fix(node-update): force update when source or target pos changes 2021-02-23 19:27:45 +01:00
Eugene Samonenko 315339f94e fix(updateNodePosDiff): added missing isDragging: true in action payload 2021-02-19 16:29:25 +02:00
moklick 1d1a17c80a refactor(actions): combine batch update and update node dimension actions 2021-02-11 19:14:30 +01:00
moklick ba5286a105 refactor(elements): split edges and nodes 2021-02-11 18:45:05 +01:00
moklick 201a35dec2 Merge branch 'main' into refactor/redux 2021-02-11 17:52:54 +01:00
moklick f0b9d8243d refactor(onSelectionChange): pass data and position closes #863 2021-02-08 11:54:38 +01:00
moklick 477be8d492 refactor(onDrag): use same api as onNodeDragStart 2021-01-27 10:35:06 +01:00
moklick 3dedd615af feat(props): add onDrag handler 2021-01-26 18:17:29 +01:00
moklick e9a7ade236 refactor(store): use redux instead of easy-peasy 2021-01-19 13:58:24 +01:00
moklick 1c01520a26 refactor(handle): pass children and standard HTMLAttributes props closes #833 2021-01-14 16:33:38 +01:00
moklick 782d567851 refactor(wrapEdge): pass source and target handle ids to edge closes #814 2021-01-11 12:51:03 +01:00
moklick 7c08a38b7c refactor(nodes): re-init when source- or targetPosition changes 2020-12-20 13:33:02 +01:00
moklick 52c54109d2 fix(nodes): dont drag other nodes when selecNodesOnDrag=false closes #782 2020-12-18 12:45:23 +01:00
moklick b368489586 fix(selection): return correct node positions closes #742 2020-12-03 18:50:56 +01:00
moklick 887ffbd0c4 refactor(resizeObserver): check if available 2020-12-01 12:04:13 +01:00
moklick 2ad121fad0 refactor(edges): pass source and target handle ids for click and selection #739 2020-12-01 10:51:15 +01:00
moklick c429ae7ca4 feat(props): add connection mode closes #702 2020-11-30 13:09:56 +01:00
moklick 8acd0c1972 Merge branch 'next' into feat/dragedge 2020-11-30 11:04:31 +01:00
moklick 6ef3f52083 style(edge-updater): add hover effect 2020-11-30 11:03:16 +01:00
moklick 1650e6ac82 fix(smoothstep): repair left/right right/left connections 2020-11-26 16:58:15 +01:00
moklick 425fd2e3c0 refactor(onConnectStart): also pass handleId closes #718 2020-11-26 16:20:53 +01:00
moklick 3a5ecfa666 Merge branch 'next' into feat/dragedge 2020-11-26 15:26:48 +01:00
moklick d17562e1a1 refactor(drag-edge): only handle when update function is passed 2020-11-26 15:17:31 +01:00
moklick e88dfdb650 refactor(nodes): use one resize observer for all nodes #723 2020-11-26 14:25:39 +01:00
moklick d6a410a0a3 refactor(elementUpdater): simplify 2020-11-18 00:16:50 +01:00
moklick 6c75635629 refactor(smoothStepEdge): cleanup 2020-11-15 21:14:45 +01:00
moklick 7482b961b0 refactor(deps): remove resize-observer 2020-11-11 18:33:32 +01:00
moklick 5e28762f53 refactor(nodes): don't re-render on pan #677 2020-11-10 17:06:18 +01:00
moklick 0fbefe5a58 refactor(GraphView): reduce amounts of re-renderings 2020-11-09 22:24:12 +01:00
moklick 2f40a83b47 refactor(drag-edge): cleanup drag edge handlers 2020-11-05 17:28:21 +01:00
moklick 9dfe7ea8e3 fix(edge-drag): update to new version 2020-11-05 16:26:02 +01:00
moklick 28ad06a7bd Merge branch 'drag-edge' of https://github.com/zcmgyu/react-flow into zcmgyu-drag-edge 2020-11-05 16:04:37 +01:00
moklick 0a77162ddb refactor(nodes): handle selection when selectNodesOnDrag=false 2020-11-05 15:36:35 +01:00
moklick 7e55f8c07f fix(nodes): always drag draggable node even if not selected 2020-11-05 14:36:26 +01:00
moklick 0774d35846 feat(nodes): multi drag 2020-11-05 14:32:10 +01:00
moklick 7d4a6d7c36 Merge branch 'main' into feat/multiselect 2020-11-05 14:19:09 +01:00
Rhys Lloyd 20c7f1622c Resolve #661
Forward positional data to Node Component.
2020-11-05 09:14:45 +10:30
Moritz KlackandGitHub 9851281709 Merge branch 'main' into drag-edge 2020-11-03 19:59:18 +01:00
moklick ddd3baa5f7 refactor(handle-handling): cleanup 2020-10-29 12:36:10 +01:00
Naden a3e9cbf9dc Cleanup of jasonpul's connection-validation branch 2020-10-27 14:51:54 +11:00
moklick f99d0170ea refactor(nodes): pass isDragging prop closes #624 2020-10-22 17:20:56 +02:00
moklick 65a1b5e07a feat(elements): multiselect 2020-10-22 00:03:30 +02:00
Long Nguyen 57528851ff Fix confict after merge branch master 2020-10-13 11:58:28 +09:00
Long Nguyen bd63a0131a Feature: Draggable edge 2020-10-12 21:34:35 +09:00
moklick 011e4c0aaf style(comps): dont use inline styles for minimap and edges #491 2020-10-06 18:00:08 +02:00
Christopher Möller bb2675a1ea feat(selection): find react-flow parent from event target instead of document 2020-10-06 14:19:43 +02:00
Christopher Möller 0045058295 feat(selection): clear user selection when mouse leaves the pane 2020-10-06 14:16:16 +02:00
jasonpul d9ba18d49c broke out handleId by itself rather than joined with nodeID, modded necessary functions to give handles not assigned IDs an empty string for backwards compadibility. Also modded handles so that only target-source and source-target connections are allowed, and no repeat connections are allowed. 2020-10-01 15:47:37 -04:00
jasonpul bee2ca5c0c initial working mod with nodeId and handleId split up in Connection type so that target-target and source-source connections cannot be made 2020-10-01 12:48:56 -04:00