Commit Graph
378 Commits
Author SHA1 Message Date
hiyangguo a07f3dc528 fix: fixed an issue where Handle component onMouseDown event could not be bind 2022-05-13 19:54:26 +08:00
moklick c8d31f3a8e chore(examples): update packages 2022-05-08 13:33:37 +02:00
moklick 6af190c272 chore(packages): update 2022-04-30 14:30:20 +02:00
moklick ebf2a66639 chore(cypress): use latest version 2022-04-27 10:45:25 +02:00
moklick 90aca9d4e6 refactor(examples): update types of some examples 2022-04-25 11:08:24 +02:00
moklick e4eb9d0b38 Merge branch 'main' into refactor/react18 2022-04-25 09:58:10 +02:00
moklick f4b52a6419 chore(examples): pkg 2022-04-18 11:09:40 +02:00
moklick c8b5c8a3b8 Merge branch 'main' into refactor/react18 2022-04-11 16:45:06 +02:00
moklick f56d9b8430 refactor(wrapper): use PropsWithChildren 2022-04-11 16:15:55 +02:00
moklick 607e8061c9 refactor(lib): use react 18 2022-04-11 16:11:14 +02:00
moklick 8d5305d240 refactor(edge-types): cleanup 2022-04-11 13:36:39 +02:00
Moritz KlackandGitHub c7fdfedd95 Merge branch 'main' into feature/edgeUpdateWithMoreInfo-1961 2022-04-11 13:28:45 +02:00
moklick d92928e19f Merge branch 'main' into feat/umdbuild 2022-04-11 12:23:54 +02:00
Andreas Schultz 4d6c6ffc7d Also add 'handleType' parameter to 'onEdgeUpdateEnd' callback analogous to 'onEdgeUpdateStart' 2022-04-11 07:39:22 +02:00
moklick d464ccda77 refactor(change-events): cleanup delete events #2036 2022-04-02 12:32:07 +02:00
moklick fc9cf9604c feat(package): add umd version 2022-03-30 18:20:43 +02:00
moklick b413c768dd fix(useKeyPress): handle combinations closes #2022 closes #2030 2022-03-30 11:24:23 +02:00
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