Commit Graph

124 Commits

Author SHA1 Message Date
Moritz Klack
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
moklick
84ffe34f87 chore(custom-minimap-node-example): cleanup 2023-03-13 13:08:29 +01:00
Hayleigh Thompson
8b9f2a8f01 Add an example flow to demo custom minimap nodes. 2023-03-09 14:48:03 +00:00
Moritz Klack
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
8b0808ec03 feat(node-resizer): add flag to keep aspect ratio, cleanup example 2023-03-07 16:41:15 +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
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
moklick
6e6720579e chore(examples): cleanup 2023-02-13 16:21:50 +01:00
moklick
0ad8333834 chore(examples): cleanup 2023-02-13 15:33:57 +01:00
moklick
a501f9a643 refactor(fitview-nodes): cleanup 2023-02-13 12:42:22 +01:00
moklick
23d1e65a72 feat(connection-line): add status class (valid or invalid) while in connection radius 2023-02-03 21:10:44 +01:00
Moritz Klack
4ca10a3ae2 Merge pull request #2801 from wbkd/fix/ios-connect
fix(ios): connection error + dont snap invalid connection lines
2023-02-03 20:50:22 +01:00
moklick
c48efe969f fix(ios): connection error + dont snap invalid connection lines 2023-02-03 20:40:32 +01:00
moklick
1ba3c0e91f fix(nodes): if draggable equals false node is also not draggable with selection 2023-02-03 19:08:10 +01:00
moklick
75a13e87bc refactor(handle): first check element below then connection radius 2023-01-30 11:39:19 +01:00
moklick
3078777b28 fix(connectionRadius): pass prop to store 2023-01-26 10:24:58 +01:00
moklick
1af9ca6c25 chore(test): adjust 2023-01-25 21:07:36 +01:00
moklick
3d6937b3e4 refactor(connectionline): separate edge renderer and connectionline 2023-01-25 17:47:13 +01:00
Moritz Klack
d70a82bfa7 Merge pull request #2763 from wbkd/feat/touch-connect
Feat: touch connect
2023-01-24 14:22:48 +01:00
moklick
f3806c6165 refactor(connection): cleanup 2023-01-24 14:17:55 +01:00
Moritz Klack
df3b8a47cb Merge pull request #2749 from wbkd/node-resizer/before-resize
Node-resizer: add shouldResize handler
2023-01-23 18:07:19 +01:00
moklick
00726085be refactor(connections): cleanup, naming 2023-01-19 17:35:06 +01:00
moklick
86f7a9a43d feat(nodes): move canvas when nodes are at the edge of the canvas #2753 2023-01-16 18:23:20 +01:00
moklick
1ab7a0f0d9 refactor(node-resizer): rename onBeforeResize to shouldResize, cleanup types 2023-01-16 14:39:11 +01:00
moklick
e6b71d474f feat(node-resizer): add direction, cleanup types 2023-01-15 11:56:46 +01:00
moklick
4d7a5e785c feat(node-resizer): add onBeforeResize handler 2023-01-12 14:34:39 +01:00
moklick
2f6afd815c chore(deps): update and cleanup 2023-01-11 13:47:13 +01:00
moklick
656eea88c1 fix(context-menu): dont trigger when doing right mouse button drag closes #2734 2023-01-10 12:50:19 +01:00
moklick
f33cd6e3ac fix(subflows): adjust positions before call fit view closes #2737 2023-01-10 12:39:37 +01:00
moklick
43a16e61e6 chore(selection): cleanup 2022-12-19 12:22:42 +01:00
Christopher Möller
7318210a2c feat(nodes): add prop to disable automatic elevation of nodes on select 2022-12-15 18:57:01 +01:00
moklick
dca41aaf0b refactor(panOnDrag): boolean or numbers for configuration 2022-12-15 12:43:52 +01:00
moklick
0342cd475f chore(changesets): enter prerelease mode and bump packages 2022-12-13 17:25:41 +01:00
moklick
9ba39ae49f fix(defaultViewport): clamp invalid zoom values 2022-12-12 17:43:33 +01:00
moklick
0a2529d26e chore(figma-controls): cleanup 2022-12-12 16:52:31 +01:00
moklick
ee2f39f2fe feat(props): add panActivationKeyCode 2022-12-12 16:35:39 +01:00
moklick
d34ecbf802 refactor(selectionMode): rename options 2022-12-12 16:19:06 +01:00
moklick
0c890c3137 Merge branch 'next-release' into jackfishwick-main 2022-12-08 21:10:50 +01:00
moklick
57064ff096 refactor(figma-controls): update prop names and types 2022-12-08 21:08:45 +01:00
moklick
badacf763b Merge branch 'main' of github.com:jackfishwick/react-flow into jackfishwick-main 2022-12-08 18:32:33 +01:00
moklick
c51ae89eeb refactor(store): use getNodes function 2022-12-08 18:13:35 +01:00
moklick
4c2acf5aa1 feat(resizer): add resize event handlers 2022-12-07 16:30:01 +01:00
Christopher Möller
527cf13352 fix(node-resizer): pass minWidth and minHeight to child components 2022-12-06 19:25:45 +01:00
moklick
7d7660f735 chore(packages): bump versions 2022-12-06 18:43:33 +01:00
moklick
531171234a chore(node-resizer): cleanup 2022-12-06 18:28:54 +01:00
Christopher Möller
4c35893e0f feat(node-toolbar): make nodeId optional and get id from context 2022-12-06 18:08:51 +01:00
Christopher Möller
0892e2ea9a refactor(node-resizer): use nodeId from context, fix glitches while resizing 2022-12-06 17:56:56 +01:00
moklick
8e43021050 refactor(resizer): export resize control, add line control, styling 2022-12-04 15:04:07 +01:00