Commit Graph
246 Commits
Author SHA1 Message Date
moklick eaf6eaaf14 fix(setEdges): always create new edge objects 2023-03-15 11:02:55 +01:00
moklick 05b5781881 chore(edge-renderer): accept invalid handleid config 2023-03-13 13:34:37 +01: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
Christopher Möller 8b0808ec03 feat(node-resizer): add flag to keep aspect ratio, cleanup example 2023-03-07 16:41:15 +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
braks 1be6dfa8e3 feat(core): add option to enable/disable replacing id when updating an edge 2023-02-16 19:48:27 +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
moklick a501f9a643 refactor(fitview-nodes): cleanup 2023-02-13 12:42:22 +01:00
Moritz KlackandGitHub 16114d2e56 Merge branch 'next-release' into feat/fit-view-nodes-option 2023-02-13 12:31:03 +01:00
Moritz KlackandGitHub 98f7cbc5bb Merge pull request #2819 from bcakmakoglu/fix/edge-updater
fix(core): avoid edge update if not using left mouse btn
2023-02-13 12:29:12 +01:00
moklick c180527239 chore(fitview): cleanup 2023-02-13 12:17:43 +01:00
Totoro-moroku 64c7887a0e typescript: fitView return type #2823 2023-02-08 21:57:41 +09:00
braks 54509aa562 fix(core): avoid edge update if not using left mouse btn 2023-02-07 12:58:24 +01:00
braks 3d65627de5 chore(core): cleanup node filter fn 2023-02-06 14:06:27 +01:00
braks 806c1dfa77 feat(core): add nodes option to fitView
# What's changed?

- Add `nodes` option to `fitView`
- Allows `fitView` to only fit around a certain set of specified nodeIds
2023-02-06 11:13:33 +01:00
moklick 230106da73 chore(connction-handler): cleanup 2023-02-06 02:00:35 +01:00
braks 1d3126e4fe fix(core): check if prevClosestHandle exists in onPointerUp 2023-02-06 00:56:23 +01:00
moklick b07d940dac chore(connections): check if handle + connection radius 2023-02-05 22:04:02 +01:00
moklick 7a652fc17c chore(connections): get fresh ref of onConnectEnd 2023-02-05 21:58:30 +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 KlackandGitHub 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 484dba7bdf chore(state): use correct file for types 2023-01-26 11:03:45 +01:00
moklick b80efb7dd3 chore(app): cleanup 2023-01-26 10:42:50 +01:00
moklick 3078777b28 fix(connectionRadius): pass prop to store 2023-01-26 10:24:58 +01:00
moklick 54010e7ee6 refactor(errors): put in constants 2023-01-25 18:32:13 +01:00
moklick 3b543cb015 chore(isMouseEvent): use different attr 2023-01-25 18:10:09 +01:00
moklick 9527261719 feat(onError): add onError prop #2772 2023-01-25 17:47:42 +01:00
moklick 3d6937b3e4 refactor(connectionline): separate edge renderer and connectionline 2023-01-25 17:47:13 +01:00
Moritz KlackandGitHub fe0f59adf4 Merge pull request #2771 from wbkd/richschulz/improve-typing-for-node-type
Types: improve typing for node type
2023-01-25 14:18:02 +01:00
moklick 2aef1ab4da chore(types): make node type optional again 2023-01-25 14:15:41 +01:00
moklick f3806c6165 refactor(connection): cleanup 2023-01-24 14:17:55 +01:00
moklick 0a2c96fe3e feat(connections): support touch 2023-01-23 17:58:15 +01:00
moklick 24e8b8adc0 refactor(autopan): cleanup 2023-01-23 15:05:18 +01:00
moklick 00726085be refactor(connections): cleanup, naming 2023-01-19 17:35:06 +01:00
moklick 66b3a8e334 refactor(handle): naming things, cleanup 2023-01-19 15:52:39 +01:00
moklick 5af609696b feat(connection-radius): use closest handle / snappy edges #2759 2023-01-18 17:51:43 +01:00