Commit Graph
361 Commits
Author SHA1 Message Date
moklick 7217cffe7e refactor(index): export getBezier ang getSimpleBezier center functions 2022-03-23 10:43:31 +01:00
moklick 903b795762 refactor(delete): only trigger when some node or edge is selected #1987 2022-03-22 18:29:34 +01:00
moklick 5b32746422 fix(useReactFlow): use onNodesChange and onEdgesChange 2022-03-15 18:38:58 +01:00
Joey Ballentine 6f51af2074 Improve UE-style Bezier Edge calculation 2022-03-14 12:52:18 -04:00
moklick bc5d1df10e refactor(edges): add BaseEdge 2022-03-14 16:27:44 +01:00
moklick b362c11851 refactor(edges): use new edge as default, add simplebezier 2022-03-14 16:01:00 +01:00
Joey Ballentine 3c96b07c9c Rename to "unreal" edge, fix for both horizontal and vertical handles 2022-03-14 01:06:26 -04:00
Joey Ballentine 726bc2e0b3 Add Unreal Engine style bezier edge 2022-03-14 01:06:14 -04:00
moklick fe5337d1b8 refactor(keys): accept null as key #1463 2022-02-22 21:23:22 +01:00
moklick 6630935d9e refactor(nodeTypes/edgeTypes): show warning when not memoized closes #1620 2022-02-22 18:33:59 +01:00
moklick a514c0ea84 refactor(onmove-handler): pass source event #1676 2022-02-22 17:08:09 +01:00
moklick e011375c3d feat(props): add onNodesDelete and onEdgesDelete handler 2022-02-20 21:17:59 +01:00
moklick d609f27a6b Merge branch 'main' into v10 2022-02-09 15:51:49 +01:00
moklick eba8513648 chore(examples): update 2022-02-08 16:37:18 +01:00
dependabot[bot]andGitHub 86efa9b4a7 chore(deps): bump nanoid from 3.1.20 to 3.2.0 in /example
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.20 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.20...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-08 15:18:04 +00:00
moklick b3b8ac9553 refactor(props): rename paneMoveable to panOnDrag 2022-01-31 17:19:52 +01:00
andreyworkspace 7d9a0acd4a update deps 2022-01-30 20:16:50 +03:00
moklick 8dcb8758a8 feat(nodes): add group type 2022-01-29 22:14:45 +01:00
moklick 1e8d578bb1 chore(examples): cleanup 2022-01-28 13:26:23 +01:00
Christopher Möller af52bab2a5 refactor(fitView): use same fitView function for viewport helper and initial prop 2022-01-27 13:00:03 +01:00
moklick 0cfcf656a0 refactor(defaultNode/Edges): always trigger onNodesChange and onEdgesChange 2022-01-20 17:55:27 +01:00
Christopher Möller c2bae79916 feat(hooks): add useReactFlow hook, refactor types and properties 2022-01-19 18:31:49 +01:00
moklick 634b592b3a feat(general): add defaultNodes, defaultEdges and defaultEdgeOptions 2022-01-18 13:05:41 +01:00
moklick 0b241d27c1 feat(attribution): add react flow attribution 2022-01-05 16:45:04 +01:00
moklick eaeebdd12e feat(subflow): add extendParent option 2022-01-04 11:15:44 +01:00
moklick f01e239947 refactor(useKeyPress): check if key code is string 2022-01-03 17:54:26 +01:00
moklick a969c63400 chore(examples): use new api 2021-12-25 13:30:13 +01:00
moklick 7a85bb9666 chore(examples): add examples 2021-12-22 23:53:05 +01:00
moklick 8014fb0f44 test(examples): use new api for test examples 2021-12-22 14:19:57 +01:00
moklick 3206d49c15 chore(examples): add overview, cleanup 2021-12-17 10:43:53 +01:00
moklick 3b25086149 feat(nodes): connect on touch device 2021-12-17 10:35:53 +01:00
moklick efbdd704cf refactor(examples): use @types/react from lib 2021-12-11 07:18:55 +01:00
moklick 88582a86cc refactor(general): fit view in store to prevent flickering, rename onLoad => onPaneReady 2021-12-09 07:24:45 +01:00
moklick 2e83af4638 Merge branch 'main' into v10 2021-12-04 01:01:25 +01:00
moklick 330eefe695 refactor(selection): only fire selection changes that changed 2021-11-26 18:42:52 +01:00
moklick d260abec75 refactor(actions): addSelectedElements => addSelectedNodes, addSelectedEdges 2021-11-26 15:18:27 +01:00
moklick a032306408 feat(hooks): add useNodesState and useEdgesState 2021-11-26 14:39:22 +01:00
moklick 713e7e1bd4 refactor(examples): on connect use connection type 2021-11-26 13:58:30 +01:00
moklick 62f1e90244 fix(edges): updatable edge 2021-11-26 07:14:38 +01:00
Christopher Möller 0f480444f2 chore(markers): cleanup marker api 2021-11-24 12:02:09 +01:00
moklick 296289710f refactor(store): reset on unmount 2021-11-23 18:37:12 +01:00
moklick 8a095df192 refactor(nodes): only observe node when not hidden 2021-11-23 17:58:53 +01:00
Mahdi Esbati 41612a0ba9 add the corresponding examples for d3 smooth transitions 2021-11-21 13:26:08 +03:30
moklick fe9c1f02dc refactor(nodes-edges): rename isHidden to hidden 2021-11-18 13:06:14 +01:00
moklick e6a4034747 Merge branch 'refactor/nested-relative' of github.com:wbkd/react-flow into refactor/nested-relative 2021-11-18 13:01:32 +01:00
moklick 0974aa5732 refactor(nodes): only use node internals 2021-11-18 13:01:11 +01:00
Christopher Möller c29decade5 feat(stacking): disable auto layering, instead configure via zIndex prop 2021-11-10 18:06:28 +01:00
moklick a79e953ab3 refactor(boolean-props): omit is prefix 2021-11-09 12:35:21 +01:00
moklick b0bfefeef4 chore(example): add debug node 2021-11-08 17:55:02 +01:00
Christopher Möller 1425a4363b fix(nested): add nested nodes example, always show nodes on top while dragging or selected 2021-11-05 17:42:18 +01:00