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 Klack and GitHub
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
9228802969
chore(packages): bump
2023-02-01 12:29:09 +01:00
moklick
499d1ae8a8
fix(devDeps): accept react17 types
2023-02-01 12:23:45 +01:00
moklick
c4d0802e4c
chore(pacakges): bump
2023-01-30 11:53:50 +01:00
moklick
75a13e87bc
refactor(handle): first check element below then connection radius
2023-01-30 11:39:19 +01:00
moklick
079e380a31
chore(reactflow): bump
2023-01-26 12:16:43 +01:00
moklick
14888eb3ee
chore(node-toolbar): bump package
2023-01-26 12:08:44 +01:00
Moritz Klack and GitHub
8360ac3ae6
Update CHANGELOG.md
2023-01-26 11:55:33 +01:00
moklick
fe85d206c4
chore(packages): bump
2023-01-26 11:42:15 +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 Klack and GitHub
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
Moritz Klack and GitHub
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 and GitHub
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
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
Christopher Möller
c9a8329395
fix(deps): don't require latest version of reactflow core in node resizer and toolbar
2023-01-19 14:00:30 +01:00
moklick
5af609696b
feat(connection-radius): use closest handle / snappy edges #2759
2023-01-18 17:51:43 +01:00
moklick
1d036b2575
refactor(autoPan): naming things
2023-01-17 17:38:21 +01:00
moklick
f2a4260ac9
feat(autoPan): add props, handle scale
2023-01-17 16:26:04 +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
e413bceb19
feat(connecting): move pane when mouse is close to edge of canvas #2753
2023-01-16 16:39:48 +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
ce33860274
chore(packages): bump
2023-01-11 15:13:19 +01:00
moklick
a74102d416
chore(core): use correct dev task
2023-01-11 15:03:03 +01:00
moklick
f43c7eba55
refactor(selection): keep node selection on right click #2733
2023-01-11 14:55:02 +01:00
moklick
2f6afd815c
chore(deps): update and cleanup
2023-01-11 13:47:13 +01:00
moklick
ab91fcce43
chore(zustand): update
2023-01-10 19:24:01 +01:00
moklick
45fb34cc7b
chore(packages): butmp
2023-01-10 17:16:57 +01:00
Moritz Klack and GitHub
ec10422fae
Merge pull request #2740 from wbkd/michaelspiss-patch-1
...
EdgeRenderer: check both handles for connection mode loose
2023-01-10 17:11:37 +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
Michael Spiss and GitHub
71c77bd70b
Check both handle types in if ConnectionType is Loose
...
Fixes #2630 by concatenating both handle types instead of only looking at targets if any exist. The initial behavior does not change, as targets get chosen preferred if no handle id is given. This applies only to `ConnectionType.Loose`
2022-12-22 00:25:46 +01:00
moklick
1662f92e13
chore(packages): bump
2022-12-19 12:47:31 +01:00