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 |
|
moklick
|
c48efe969f
|
fix(ios): connection error + dont snap invalid connection lines
|
2023-02-03 20:40:32 +01:00 |
|
moklick
|
75a13e87bc
|
refactor(handle): first check element below then connection radius
|
2023-01-30 11:39:19 +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
|
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 |
|
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 |
|
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
|
ab91fcce43
|
chore(zustand): update
|
2023-01-10 19:24:01 +01:00 |
|
moklick
|
43a16e61e6
|
chore(selection): cleanup
|
2022-12-19 12:22:42 +01:00 |
|
 Moritz KlackandGitHub
|
1451a73d0e
|
Merge pull request #2695 from wbkd/feat/elevate-nodes
feat(nodes): add prop to disable automatic elevation of nodes on select
|
2022-12-19 10:58:44 +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
|
3cc7bdcb5c
|
chore(base-edge): check labelX labelY
|
2022-12-15 17:33:22 +01:00 |
|
moklick
|
dca41aaf0b
|
refactor(panOnDrag): boolean or numbers for configuration
|
2022-12-15 12:43:52 +01:00 |
|
moklick
|
2a7effd291
|
fix(selection): do not select hidden nodes closes #2679
|
2022-12-15 10:54:40 +01:00 |
|
moklick
|
d34ecbf802
|
refactor(selectionMode): rename options
|
2022-12-12 16:19:06 +01:00 |
|
moklick
|
aaa0854c62
|
chore(figma-controls): rename props
|
2022-12-08 22:06:07 +01:00 |
|
moklick
|
08faffacee
|
refactor(selection): improve performance
|
2022-12-08 21:58:24 +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 |
|
 Moritz KlackandGitHub
|
e0fc4ae08f
|
Merge pull request #2626 from wbkd/feat/resize-node
Feat: Add NodeResizer package
|
2022-12-06 18:17:27 +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
|
13f024c64b
|
Merge branch 'patch-5' of github.com:neo/react-flow into neo-patch-5
|
2022-12-06 17:10:39 +01:00 |
|
moklick
|
7d57c46571
|
refactor(nodes): don't move or select nodes when input is focused
|
2022-12-06 13:41:39 +01:00 |
|
moklick
|
6ee4eb4c42
|
refactor(node-resizer): use package, update resize behaviour
|
2022-12-01 14:53:04 +01:00 |
|
 Wenchen LiandGitHub
|
c6b5122d0f
|
Invalidate a Node trying to connect itself with the same handle
It also be written as `!(elementBelowNodeId === nodeId && elementBelowHandleId === handleId)`
|
2022-11-28 17:31:57 -05:00 |
|
Christopher Möller
|
f776239ecb
|
feat(resize-node): example implementation of resize component
|
2022-11-22 16:13:23 +01:00 |
|
Jack Fishwick
|
a8e414e4a2
|
feat: display the pointer when in selection mode.
|
2022-11-22 11:05:48 +00:00 |
|
Jack Fishwick
|
64c8491761
|
bug fix: more post rebase fixes.
|
2022-11-22 11:05:48 +00:00 |
|
Jack Fishwick
|
35bc158ade
|
bug fix: fixes post rebase.
|
2022-11-22 11:05:48 +00:00 |
|
Jack Fishwick
|
09ebd0c84a
|
feat: allow customisation of how the select box works.
|
2022-11-22 11:05:45 +00:00 |
|
Jack Fishwick
|
1de6de1f96
|
feat: add events for when selection starts and ends.
|
2022-11-22 11:04:01 +00:00 |
|
Jack Fishwick
|
4e874b90a8
|
feat: select overlapping nodes, even if not fully within box.
|
2022-11-22 10:56:18 +00:00 |
|
Jack Fishwick
|
6fe85b2cbe
|
bug fix: handle all mouse move events not just ones on the target.
|
2022-11-22 10:55:07 +00:00 |
|
Jack Fishwick
|
44097c15c9
|
tests: start fixing cypress tests.
|
2022-11-22 10:55:06 +00:00 |
|
Jack Fishwick
|
f0baf64725
|
bug fix: only handle mouse events that were targeted at the selection pane.
|
2022-11-22 10:55:06 +00:00 |
|
Jack Fishwick
|
45dfcfd4ee
|
feat: don't ignore user selection on mouse leave as we may have selected nodes.
|
2022-11-22 10:55:06 +00:00 |
|