Commit Graph
350 Commits
Author SHA1 Message Date
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
moklick fdf2571402 feat(nodes): add extent option 2021-11-04 21:43:47 +01:00
moklick 996b1b51f5 refactor(store): rename nodeLookup to nodeInternals 2021-11-04 18:13:21 +01:00
moklick 72f1d8b4e3 refactor(stlyes): use react-flow__container helper 2021-11-04 15:13:14 +01:00
Christopher Möller 1b390e103d feat(stacking): simplify zIndex and treeLevel behaviour 2021-11-04 12:42:14 +01:00
Christopher Möller 79e46d90ad wip: multiple edge renderers 2021-11-03 17:51:39 +01:00
moklick 248b563231 refactor(nodes): use relative positions for children 2021-11-02 18:58:47 +01:00
moklick 85f25a5a81 chore(examples): undirectional use bezier connection 2021-11-02 14:51:31 +01:00
moklick 65991de037 chore(examples): add layouting with new api 2021-11-02 12:52:24 +01:00
Christopher Möller 241f604125 feat(nested-nodes): simplify nested node rendering 2021-10-27 15:38:29 +02:00
Christopher Möller dc36ebf31f feat(nested-nodes): callback for parent node size change 2021-10-22 15:13:14 +02:00
Christopher Möller 8b95cd712f feat(noderenderer): render nodes recursively 2021-10-22 12:09:01 +02:00