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 |
|
Jack Fishwick
|
a2eff8f834
|
feat: clear selection when starting new selection.
|
2022-11-22 10:55:06 +00:00 |
|
Jack Fishwick
|
e22938b49f
|
feat: do not remove node selection on leave.
|
2022-11-22 10:55:06 +00:00 |
|
Jack Fishwick
|
3969544fdf
|
feat: do not clear the selection when you mouse out.
|
2022-11-22 10:55:06 +00:00 |
|
Jack Fishwick
|
00282c2cb4
|
feat: only trigger a pane 'click' if there is no movement.
|
2022-11-22 10:55:06 +00:00 |
|
Jack Fishwick
|
3169589fbc
|
feat: make sure 'panOnDrag' overrides 'selectBoxOnDrag'.
|
2022-11-22 10:55:06 +00:00 |
|
Jack Fishwick
|
55811169da
|
feat: handle selection mode properly. Up z-index for selection box.
|
2022-11-22 10:55:06 +00:00 |
|
Jack Fishwick
|
45c407755f
|
feat: only click when not moved.
|
2022-11-22 10:55:06 +00:00 |
|
Jack Fishwick
|
da08e69e78
|
feat: condense user selection into pane.
|
2022-11-22 10:55:06 +00:00 |
|
moklick
|
493d748c18
|
chore(connection-line): use type for imports
|
2022-11-17 14:53:32 +01:00 |
|
moklick
|
8e6a353d58
|
fix(updatable-edge): fix disappearing connection line for loose flows closes #2529
|
2022-11-17 14:51:26 +01:00 |
|
moklick
|
7fab7b6a54
|
Merge branch 'next-release' into fix/selection-rect
|
2022-11-15 16:09:35 +01:00 |
|
moklick
|
b70ede04f3
|
fix(nodeOrigin): repair multi selection and fitView
|
2022-11-15 16:00:21 +01:00 |
|
moklick
|
be89fe0020
|
refactor(edge-label-renderer): simplify selector
|
2022-11-15 11:18:12 +01:00 |
|
GeoffreyLiu
|
038835772f
|
refactor: use domNode prop to get edge-label-renderer
|
2022-11-14 19:55:56 +08:00 |
|
GeoffreyLiu
|
23aa8bb270
|
refactor: use existing d3Selection to get the element ref
|
2022-11-14 08:30:09 +08:00 |
|
GeoffreyLiu
|
3170f875e5
|
refactor: access edge-label-renderer by storing the root element
|
2022-11-11 10:44:59 +08:00 |
|
GeoffreyLiu
|
55cf7560c0
|
fix: access the edge-label-renderer by reactflow's id
|
2022-11-08 15:46:05 +08:00 |
|
moklick
|
095e1fbe81
|
feat(edge-labels): add div based renderer
|
2022-11-02 14:38:37 +01:00 |
|
moklick
|
1e5ea41bda
|
fix(base-edge): dont apply animation to edge helper closes #2517
|
2022-10-21 12:20:23 +02:00 |
|
moklick
|
7b1dc1b18c
|
chore(types): cleanup
|
2022-10-21 11:35:56 +02:00 |
|
moklick
|
74cacd29cb
|
chore(rfId): cleanup id handling
|
2022-10-19 16:58:36 +02:00 |
|
moklick
|
c44413d816
|
chore(panel): dont break user selection above panel
|
2022-10-10 11:40:25 +02:00 |
|
moklick
|
48c402c4d3
|
refactor(aria-descriptions): render when disableKeyboardA11y is true
|
2022-10-10 11:30:15 +02:00 |
|
moklick
|
3a1a365a63
|
fix(useOnSelectionChange): repair hook closes #2484
|
2022-10-09 20:40:11 +02:00 |
|
moklick
|
be6590a5d6
|
feat(nodes-edges): add nodesFocusable, edgesFocusable, cleanup keyboard controls
|
2022-10-03 14:31:34 +02:00 |
|
moklick
|
a3147dc4b8
|
refactor(nodes): make nopan class overwritable
|
2022-10-03 13:01:42 +02:00 |
|