Commit Graph
165 Commits
Author SHA1 Message Date
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 f25c7fe8a2 feat: pass through onSelectionStart in GraphView. 2022-11-22 11:05:13 +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 3c94b22ac1 bug fix: fix not panning on selection button press. 2022-11-22 10:55:06 +00:00
Jack Fishwick 1c6ac9193f bug fix: do not panOnDrag if the selection button is pressed. 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 a1c830c086 feat: make sure 'onPaneContextMenu' still works with panOnDrag = 'RightClick'. 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 b65cc1229d feat: add option for right click 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
Jack Fishwick 707ee19875 feat: block pan on scroll if we are making a selection. 2022-11-22 10:55:06 +00:00
Jack Fishwick 33e730d7b4 bug fix: make sure we actually update event handlers when selection begins. 2022-11-22 10:55:06 +00:00
Jack Fishwick 685ff76ee8 feat: add a selectBoxOnDrag prop which allows select box to be triggered without an additional key press. 2022-11-22 10:55:06 +00:00
moklick a458564bfc chore(packages): bump versions 2022-11-21 14:53:18 +01: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
Moritz KlackandGitHub 5211b5a0d5 Merge pull request #2560 from wbkd/neo-patch-4
Always elevate 1000 in `zIndex` when node is selected
2022-11-15 11:55:54 +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
Wenchen LiandGitHub d586202d97 Always elevate 1000 in zIndex when node is selected
Instead of only elevating when `zIndex` is unset
2022-11-11 17:30:31 -05: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 d54b6b8617 chore(versions): bump 2022-11-02 20:44:10 +01:00
moklick 8f55c21cd7 feat(useReactFlow): add intersection helpers 2022-11-02 19:38:02 +01:00
Moritz KlackandGitHub e04973c10b Merge pull request #2538 from wbkd/neo-patch-3
Refactor: Add isolated stacking context
2022-11-02 16:22:33 +01:00
moklick cda039fc8d Merge branch 'patch-3' of github.com:neo/react-flow into neo-patch-3 2022-11-02 16:16:28 +01:00
Moritz KlackandGitHub 4c21915c34 Merge pull request #2536 from wbkd/pengfu-v11_deleteSelectedElements
Feat: add delete elements helper function
2022-11-02 16:04:24 +01:00
Moritz KlackandGitHub 91f1f83d07 Merge pull request #2535 from wbkd/feat/edge-label-renderer
Feat: Add div based renderer for edge labels
2022-11-02 16:04:04 +01:00
moklick 095e1fbe81 feat(edge-labels): add div based renderer 2022-11-02 14:38:37 +01:00
moklick 322ea0ebed feat(interactive-minimap): add zoom and pan 2022-10-31 17:55:32 +01:00
chang_su a22229eb14 chore: update deleteElements param 2022-10-25 16:17:16 +08:00
chang_su 87a1b644f6 chore: fix conflicts 2022-10-25 14:56:37 +08:00
chang_su b6ec8b70b2 chore: remove deleteSelectedElements method 2022-10-25 14:43:44 +08:00
chang_su f39936e508 feature(deleteElements): add deleteElements method 2022-10-24 23:37:46 +08:00
moklick 468c131b60 chore(changelogs): update 2022-10-21 12:22:31 +02:00
moklick 1e5ea41bda fix(base-edge): dont apply animation to edge helper closes #2517 2022-10-21 12:20:23 +02:00