Commit Graph
717 Commits
Author SHA1 Message Date
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 a45af5f0f8 refactor(handle): only listen to left click events closes #1852 2022-02-22 17:53:50 +01:00
moklick 67b71a9190 fix(selection-change): only trigger once 2022-02-22 17:49:10 +01:00
moklick 007bdabb89 fix(selection): deselect nodes when select edge and vice versa closes #1899 2022-02-22 17:38:53 +01:00
moklick a514c0ea84 refactor(onmove-handler): pass source event #1676 2022-02-22 17:08:09 +01:00
moklick 8e41c0d729 fix(types): onEdgesDelete 2022-02-22 16:30:03 +01:00
Himself65 76ff49196d fix: export type OnNodesDelete and OnEdgesDelete 2022-02-21 13:24:34 -06:00
moklick e011375c3d feat(props): add onNodesDelete and onEdgesDelete handler 2022-02-20 21:17:59 +01:00
moklick 522780eac9 fix(ts): dont make viewport optional for move callbacks 2022-02-10 12:54:50 +01:00
himself65 d250a7d2cd fix: enhance type 2022-02-06 17:13:51 -06:00
moklick 3067b72d91 refactor(hooks): export key press hook 2022-01-31 17:22:25 +01:00
moklick b3b8ac9553 refactor(props): rename paneMoveable to panOnDrag 2022-01-31 17:19:52 +01:00
moklick b1791eaaec refactor(useViewport): use shallow for selector 2022-01-30 14:45:48 +01:00
moklick 4e97472fe9 refactor(rf): cleanup 2022-01-29 22:21:22 +01:00
Moritz KlackandGitHub f789703db4 Merge pull request #1861 from andreyworkspace/bugfix/v10
Removed wrong type
2022-01-29 22:15:10 +01:00
moklick 8dcb8758a8 feat(nodes): add group type 2022-01-29 22:14:45 +01:00
andreyworkspace 4ad17d8318 removed wrong type 2022-01-29 19:53:48 +03:00
moklick 578c278b31 refactor(wrapnode): create mouse handler util hook 2022-01-28 17:05:40 +01:00
moklick 588b590e14 refactor(wrapnode): pass shallow clones to handlers 2022-01-28 16:46:35 +01:00
moklick c40a36fdb6 refactor(wrapnode): get node from store in event handlers 2022-01-28 15:02:52 +01:00
moklick 7e915ad39f refactor(nodes): re-init when sourcePos, targetPos or type changes 2022-01-28 14:48:14 +01:00
moklick ee1a393dcb refactor(changes): handle expand parent on dimension update 2022-01-28 13:26:16 +01:00
moklick 1b45a3f85d fix(fitview): only fit view once 2022-01-28 13:25:56 +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 067d681485 refactor(types): add NodePositionChange type 2022-01-25 13:54:33 +01:00
moklick 0cfcf656a0 refactor(defaultNode/Edges): always trigger onNodesChange and onEdgesChange 2022-01-20 17:55:27 +01:00
moklick bfea566d70 fix(exports): add hooks 2022-01-20 12:02:45 +01:00
moklick a182458781 feat(hooks): add useViewport 2022-01-20 10:03:19 +01:00
moklick e52c5eda19 refactor(types): drop NodeInternalsItem type 2022-01-19 22:17:07 +01:00
moklick 08b2696e6b feat(hooks): add useNodes and useEdges 2022-01-19 22:16:53 +01:00
Christopher Möller f95f390cb3 chore(nodes): prevent crashing when data is not set on nodes object 2022-01-19 18:47:52 +01:00
Christopher Möller c2bae79916 feat(hooks): add useReactFlow hook, refactor types and properties 2022-01-19 18:31:49 +01:00
Christopher MöllerandGitHub 1755da3089 Merge pull request #1843 from wbkd/v10-default-nodes-edges
feat(general): add defaultNodes, defaultEdges and defaultEdgeOptions
2022-01-19 10:58:10 +01:00
moklick 97b5327e1e refactor(controls): add titles for buttons 2022-01-18 15:49:18 +01:00
moklick 634b592b3a feat(general): add defaultNodes, defaultEdges and defaultEdgeOptions 2022-01-18 13:05:41 +01:00
moklick 660ec00be5 refactor(store): cleanup 2022-01-17 15:15:48 +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 ca77d0ef4c fix(edges): draw connection line when there are no edges closes #1785 2021-12-22 11:17:29 +01:00
moklick 6bbd06a16e fix(selection): use start x and y when direction changes 2021-12-18 14:28:01 +01:00
moklick d8b054c7d6 feat(props): add connectOnClick 2021-12-17 10:49:05 +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 639aa1ee23 refactor(bundle): remove d3-color via rollup alias 2021-12-16 16:57:16 +01:00
moklick 895e0bc524 refactor(store): use store.setState directly instead of actions 2021-12-11 05:22:41 +01:00
moklick 1a2ac5aa3e refactor(storeupdater): cleanup 2021-12-10 00:35:41 +01:00
Christopher Möller 747097f61b chore(zoompane): remove unused code 2021-12-09 15:00:20 +01:00