Commit Graph
341 Commits
Author SHA1 Message Date
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
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 993055e08b refactor(edge-utils): check center params for undefined 2020-09-27 22:28:43 +02:00
moklick b7e27094bb feat(edge-utils): add center üaram to bezier and step edge helpers closes #522 2020-09-27 22:26:41 +02:00
MoritzandGitHub c317fec81b Merge pull request #532 from is343/feat/controlCallbacks
feat(control): add optional callbacks
2020-09-27 12:56:36 +02:00
moklick de3757ce6f fix(nodes): click after drag closes #531 2020-09-27 13:01:45 +02:00
Ivan S ab92766af5 feat(control): add optional callbacks 2020-09-22 14:17:34 -04:00
moklick 1f7d88fd5e feat(connectionline): custom component option #516 2020-09-19 13:38:40 +02:00
moklick 5a504df0d6 fix(userselection): dont unset selection on startup #515 2020-09-18 12:56:19 +02:00
moklick 0b15211e18 refactor(edges): pass original source and target ids, cleanup #476 2020-09-15 11:17:06 +02:00
moklick 63d1e4b218 fix(utils): export getIncomers #510 2020-09-15 10:12:57 +02:00
moklick 3693602cf8 fix(nodes): handle isHidden on start closes #506 2020-09-14 12:16:31 +02:00
moklick ce1ddcb681 refactor(selection): cleanup 2020-09-14 10:03:14 +02:00
moklick db813eac0b refactor(wrapNode): cleanup 2020-09-11 17:28:42 +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 4cc6b0af02 fix(selection): dont render selection when another node gets selected 2020-09-11 11:04:38 +02:00
moklick 1425b8ffde refactor(element-parsing): handle elements with integer ids closes #500 2020-09-11 10:54:04 +02:00
moklick 121952bba7 feat(selection): add context menu handler closes #478 2020-09-11 02:01:33 +02:00
moklick fe3dd87d24 fix(selection): handle snap grid correctly 2020-09-11 01:39:40 +02:00
moklick 7f64ffe173 feat(utils): add getIncomers function closes #461 2020-09-10 23:54:53 +02:00
moklick 5c2c1eecad feat(paneview): add translateExtent option closes #479 2020-09-10 18:39:40 +02:00
moklick 0cc9526630 refactor(wrapNode): clean up event handlers closes #482 2020-09-10 17:56:36 +02:00
moklick 1eeb6a826c Merge branch '100le-master' into develop 2020-09-05 12:01:39 +02:00
moklick e06ffe8b9a refactor(draggable): pass nodeRef to draggable comp closes #486 2020-09-05 12:00:09 +02:00
Stojan StamkovandGitHub fa193bddfc Added support for Node and Edge type updates 2020-09-04 21:04:53 +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
MoritzandGitHub bca5c14c03 Merge pull request #464 from rgoupil/develop
Expose getConnectedEdge + Set className of minimap node
2020-08-28 19:52:30 +02:00
Robin Goupil 40bb947084 use classcat instead of template literal 2020-08-28 13:57:47 +02:00
Robin Goupil 3b2be2fddb Expose getConnectedEdges 2020-08-28 11:14:25 +02:00
Robin Goupil 60c39718f9 Allow to pass a string of FuncString for Minimap node className 2020-08-28 11:14:18 +02:00
moklick 3fe6a956c2 refactor(d3-zoom): use new v2 api 2020-08-27 00:35:01 +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 ae623be738 refactor(nodes): use opacity for hiding nodes on start 2020-08-20 14:54:23 +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 ecc4ae8b07 refactor(wrapNode): check if dom node exists when updating dimensions #434 2020-08-19 18:58:25 +02:00
moklick de18e8527b Merge branch 'master' of https://github.com/alexdawes/react-flow into alexdawes-master 2020-08-19 18:47:03 +02:00
MoritzandGitHub cb85d44c4c Merge pull request #441 from namack/add-edge-types
Add `id` to EdgeProps Interface
2020-08-19 18:34:27 +02:00
Alex Dawes 237e077afc Improve the way that zoom level is calculated in the fitView function 2020-08-19 11:26:22 +01:00
Nate Amack 27c8ac02dc fix(types): add id to EdgeProps 2020-08-18 15:21:54 -06:00
Nate Amack 34473166cb feat(onElementClick): always allow onElementClick to run 2020-08-18 10:59:22 -06:00
moklick 07e597fbb1 refactor(edges): pass data in onClick handler closes #430 2020-08-13 09:28:02 +02:00
moklick ee74c90f15 feat(edges): add labelBgBorderRadius option closes #421 2020-08-12 13:00:54 +02:00
moklick e4233aa9b3 fix(nodes): fire click event when node is selectable closes #424 2020-08-11 19:18:48 +02:00
moklick 6bbc152041 feat(edge-options): add labelBgPadding #421 2020-08-11 10:36:22 +02:00