Commit Graph
395 Commits
Author SHA1 Message Date
moklick 6c4af37f7c refactor(reactflow): add node resizer package 2023-03-28 12:03:47 +02:00
Moritz KlackandGitHub 9ed7d1a670 Merge pull request #2962 from wbkd/feat/edges-updatable
Feat/edges updatable
2023-03-27 16:56:17 +02:00
moklick 65b2d9ccef refactor(edgesUpdatable): pass to store 2023-03-27 16:53:55 +02:00
moklick 395a1586c3 refactor(handles): add connectionStart and connectionEnd handle to store, cleanup 2023-03-27 12:56:57 +02:00
braks 449c3055e0 chore(core): cleanup 2023-03-24 22:42:09 +01:00
braks b06629e75e feat(core): allow setting edges updatable to bool, source or target 2023-03-24 22:42:09 +01:00
braks 82ee1415ef feat(core): add global edgesUpdatable prop 2023-03-24 22:42:09 +01:00
braks 5e41e975eb feat(core): add updatable prop to Edge types 2023-03-24 22:42:09 +01:00
moklick 2fd5319cf2 faet(handle): add isConnectableStart and isConnectableEnd 2023-03-24 17:36:14 +01:00
moklick 586b7ca629 feat(use-nodes-initialized): add options, exclude hidden nodes 2023-03-24 16:42:14 +01:00
Moritz KlackandGitHub 0cb000a84d Merge pull request #2955 from wbkd/feat/minimap-inverse-pan-and-zoom-step
Feat/minimap inverse pan and zoom step
2023-03-24 16:16:35 +01:00
Artyom Sovetnikov 5da65313ec fix memo 2023-03-21 16:42:19 +03:00
Artyom Sovetnikov 40139805f3 add zoom step to minimap 2023-03-21 16:34:00 +03:00
Artyom Sovetnikov 9303bf1b32 add inverse pan to minimap 2023-03-21 16:27:01 +03:00
Moritz KlackandGitHub 7e4d5af0d1 Merge pull request #2943 from wbkd/feat/multiple-backgrounds
Feat/multiple backgrounds
2023-03-21 11:47:43 +01:00
Artyom Sovetnikov dedf0046b5 add id and offset to background props 2023-03-21 02:40:38 +03:00
moklick ee8e618c9d chore(store): fix typo 2023-03-20 17:35:38 +01:00
moklick 0f2eee7706 chore(store): add current connection result closes #2916 2023-03-20 17:33:15 +01:00
Moritz KlackandGitHub 5bcf586694 Merge pull request #2934 from wbkd/fix/wheel-violation
Fix/wheel violation
2023-03-20 11:36:23 +01:00
moklick e09dd87e77 refactor(error-messages): prefix error keys with error closes #2919 2023-03-20 11:19:32 +01:00
Artyom Sovetnikov 9fab9b82b4 make wheel listener non-passive explicitly 2023-03-18 19:14:16 +03:00
moklick 29790476d8 chore(packages): bump 2023-03-15 12:02:34 +01:00
moklick eaf6eaaf14 fix(setEdges): always create new edge objects 2023-03-15 11:02:55 +01:00
moklick b671cf50d6 chore(packages): bump 2023-03-13 16:57:34 +01:00
moklick 05b5781881 chore(edge-renderer): accept invalid handleid config 2023-03-13 13:34:37 +01:00
Moritz KlackandGitHub 97756dee60 Merge pull request #2906 from wbkd/feat/custom-minimap-nodes
feat: add prop to render custom node inside minimap
2023-03-13 13:10:02 +01:00
Hayleigh Thompson 2acc5b7706 ♻️ Rename 'MiniMapNode' prop to 'nodeComponent' for greater consistency. 2023-03-09 14:46:46 +00:00
Hayleigh Thompson 1415ed003e Add an optional 'MiniMapNode' field to 'MiniMapProps'.
This lets users supply a custom SVG node to render in the minimap instead of the default rectangle.
2023-03-09 14:25:23 +00:00
Hayleigh Thompson 46f3f81dc4 🚚 Move 'MiniMapNodeProps' into shared types module. 2023-03-09 14:01:55 +00:00
Moritz KlackandGitHub 2c342d1cb1 Merge pull request #2900 from wbkd/feature/max-properties-resizer
Feature/max properties resizer
2023-03-07 18:02:17 +01:00
moklick dcc2ce4baa refactor(resize-control): handle min max width + aspect ratio 2023-03-07 17:54:39 +01:00
Christopher Möller 2a352a67de refactor(node-resizer): add keepAspectRatio to dependency array, cleanup drag handler 2023-03-07 16:49:15 +01:00
Christopher Möller 8b0808ec03 feat(node-resizer): add flag to keep aspect ratio, cleanup example 2023-03-07 16:41:15 +01:00
moklick d85ce8283d chore(plugins): add data-testids closes #2854 2023-03-06 16:44:45 +01:00
moklick 7383200388 fix(nodes): blur when node gets unselected closes #2887, closes #2886 2023-03-06 16:35:24 +01:00
moklick 06ae32d982 fix(handles): check if handle is connectable closes #2869 2023-03-06 15:31:44 +01:00
moklick 5f03ce27f5 Merge branch 'fix-modifier-keys' of github.com:danielgek/react-flow into danielgek-fix-modifier-keys 2023-03-06 15:19:16 +01:00
Moritz KlackandGitHub 3afc959807 Merge pull request #2847 from bcakmakoglu/feat/replace-id
feat(core): add option to enable/disable replacing id when updating an edge
2023-03-06 15:02:03 +01:00
moklick f783bdc25f refactor(store): dont use isValidConn for edges 2023-03-06 14:58:32 +01:00
Daniel Leal 5293fd74be fix(core): track modifier keys on useKey press 2023-03-03 11:46:50 +00:00
moklick 99ec9f0f03 feat(reactflow): add isValidConnection prop closes #2876 2023-03-02 17:42:07 +01:00
braks eeed447850 chore(core,utils): add options obj to updateEdge util 2023-03-02 17:00:19 +01:00
braks 24d4c56343 chore(core,types): add UpdateEdgeOptions type 2023-03-02 16:59:43 +01:00
stffabi 5becbb1ebe feat(resizer): Add support for maxWidth and maxHeight 2023-02-17 08:28:48 +01:00
braks 1be6dfa8e3 feat(core): add option to enable/disable replacing id when updating an edge 2023-02-16 19:48:27 +01:00
moklick 11a52f020d chore(packages): bump 2023-02-13 16:30:17 +01:00
moklick 88d4dda260 fix(PropsWithChildren): pass default generic 2023-02-13 16:05:15 +01:00
moklick 7e6f5be656 refactor(use-key-press): handle modifier keys + inputs 2023-02-13 13:48:26 +01:00
moklick 0dc307769f refactor(safari): no user selection for edge label renderer 2023-02-13 13:16:24 +01:00
moklick 9bc76d19bb fix(connections): fix connections with handles bigger than connec radius closes #2814 2023-02-13 13:03:11 +01:00