Commit Graph
172 Commits
Author SHA1 Message Date
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 7d4a6d7c36 Merge branch 'main' into feat/multiselect 2020-11-05 14:19:09 +01:00
Moritz KlackandGitHub 9851281709 Merge branch 'main' into drag-edge 2020-11-03 19:59:18 +01:00
Christopher Möller de1f7dba5d prevent page bouncing when panOnScroll is enabled #359 2020-11-03 16:10:24 +01:00
moklick b88729fbf1 feat(panOnScroll): add speed option 2020-11-03 15:58:47 +01:00
Christopher Möller febf3012d7 fix zoom behaviour while selection key is pressed 2020-11-02 13:19:04 +01:00
Christopher Möller d64cdcec66 rewrite d3-zoom hook as react component, add pan behaviour with d3-zoom event #359 2020-11-02 12:36:10 +01:00
Christopher Möller d6a6eb82d8 refactor pan/zoom behaviour, implement pan on scroll #359, edit interaction example 2020-10-29 17:58:36 +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 056e817031 refactor(rollup): use replace plugin before other plugins 2020-10-23 14:06:31 +02:00
moklick 269dfec535 refactor(globals): dont use process.env 2020-10-23 13:56:47 +02:00
moklick 65a1b5e07a feat(elements): multiselect 2020-10-22 00:03:30 +02:00
Long Nguyen 8ea54a6574 Fix: Couldn't drag edge after creating of FlowRenderer 2020-10-13 12:06:55 +09: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
Christopher Möller 0373b53fc2 feat(renderer): change layer order, allow zoom on nodes and user selection 2020-10-06 13:08:38 +02:00
Christopher Möller 4f757b86b9 feat(renderer): move interactions into seperate wrapper component 2020-10-05 16:37:10 +02:00
moklick 19f936a107 refactor(props): cleanup 2020-10-05 11:06:40 +02:00
moklick 48053133e5 refactor(defaultProps): dont set defaults in main entry point 2020-10-02 14:34:51 +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
moklick 284968ad54 style(flow): new default styles 2020-09-30 18:07:40 +02:00
moklick 7ef6d0adb2 fix(fitView): don't let defaultPosition overwrite fitView on load #533 2020-09-30 16:44:50 +02:00
moklick 1f7d88fd5e feat(connectionline): custom component option #516 2020-09-19 13:38:40 +02:00
moklick 0b15211e18 refactor(edges): pass original source and target ids, cleanup #476 2020-09-15 11:17:06 +02:00
moklick 8a0a928e17 refactor(nodes): always render nodes that are dragged closes #477 2020-09-11 17:12:09 +02:00
moklick d17e6ebaea refactor(wrapNode): simplify dragging behaviour 2020-09-11 16:36:23 +02:00
moklick 121952bba7 feat(selection): add context menu handler closes #478 2020-09-11 02:01:33 +02:00
moklick 5c2c1eecad feat(paneview): add translateExtent option closes #479 2020-09-10 18:39:40 +02:00
Emiel Wit 394c0ab53c feat: add onPaneScroll event handler
- add the possibility to listen to the onWheel event
  - add event handler to interaction demo
2020-09-02 10:23:39 +02:00
moklick ccacd43659 feat(selection): add drag handlers closes #444 2020-08-22 17:24:50 +02:00
moklick 5b4b114935 feat(props): add onConnectEnd function #451 2020-08-21 09:40:27 +02:00
moklick 58b0d88208 refactor(nodes): no jumping nodes on start 2020-08-20 14:54:23 +02:00
moklick de9a846fea fix(onLoad): use project and getElements in combination with RFPovider closes #285 2020-08-20 08:53:51 +02:00
moklick 23660b5903 feat(reactflowInstance): add zoomTo function closes #433 2020-08-19 19:12:28 +02:00
moklick ee74c90f15 feat(edges): add labelBgBorderRadius option closes #421 2020-08-12 13:00:54 +02:00
moklick 6bbc152041 feat(edge-options): add labelBgPadding #421 2020-08-11 10:36:22 +02:00
moklick 6d651bdc98 fix(edges): pass className to edge closes #420 2020-08-11 09:57:45 +02:00
moklick 59742c9526 refactor(variables): dont use abbreviations 2020-08-10 12:10:17 +02:00
moklick 49ddb8040d fix(onConnectStop): use correct type closes #403 2020-08-05 19:03:06 +02:00
MoritzandGitHub 8fbdfaa542 Merge branch 'master' into expose-pane-context-click 2020-08-05 09:45:56 +02:00
Nate Amack 93aa5c96ca feat(props): add onPaneContextMenu 2020-08-04 17:12:42 -06:00
Nate Amack 92d8276f1b fix(type): add type definition for onPaneClick 2020-08-04 13:38:36 -06:00
Nate Amack 97ec24fa14 feat(props): add mouse event to onNodeDragStart, onNodeDragStop, onElementClick, and onPaneClick 2020-08-04 12:05:03 -06:00
moklick c59c8ee693 refactor(edges): simplify selected condition #397 2020-08-04 10:05:15 +02:00
moklick cfaa07dc6b fix(edges): selected condition closes #397 2020-08-04 10:03:44 +02:00
moklick 6cb3c707bf refactor(store): rename/cleanup setNodesSection action 2020-08-04 00:42:54 +02:00
moklick 915bc72974 fix(onLoad): only call once closes #393 2020-08-03 17:12:04 +02:00
moklick e0a2ceeab0 refacor(graphview): cleanup 2020-08-02 18:55:15 +02:00