Commit Graph
67 Commits
Author SHA1 Message Date
Jack Fishwick 2f767408ca chore: fix typing on 'isSelectionMode'. 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 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 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 a1c830c086 feat: make sure 'onPaneContextMenu' still works with panOnDrag = 'RightClick'. 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 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
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
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 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
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 7d93d4e46b chore(rf-props): pass id to wrapper closes #2510 2022-10-19 16:43:49 +02:00
Wenchen LiandGitHub eccd567347 Put wrapper container in its own stacking context 2022-10-14 11:33:50 -04: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 fad6cf706e refactor(packages) support react 17 and 18 2022-09-19 16:07:30 +02:00
moklick dea46511c3 chore(nodes-edges): add data testids 2022-09-14 13:08:57 +02:00
moklick ead4d75c40 fix(nodes): handle double click 2022-09-13 14:52:07 +02:00
moklick 17ef4ff05f refactor(repo): use turbo + rollup + vite 2022-09-12 17:24:49 +02:00
moklick 51e957e5db feat(edges): add interactionWidth option #1580 #1114 2022-09-07 17:43:36 +02:00
Moritz KlackandGitHub 7a96817114 Refactor: Better routing for smoothstep and step edge (#2407)
* refactor(step/smoothstep-edge): better default routing
* chore(edges): pass options
* chore(exports): add BaseEdge
2022-09-07 17:40:18 +02:00
moklick 23fdd20658 fix(nodeOrigin): use origin for calculating handle position 2022-09-01 12:37:13 +02:00
moklick 2172522a0b refactor(panning): enable panning when nodesDraggable is false #1457 2022-09-01 12:12:16 +02:00
moklick e5f483300a refactor(zoompane): cleanup 2022-08-31 17:53:30 +02:00
moklick 693a71cc63 fix(panOnScroll): only trigger onMoveEnd once closes #675 2022-08-31 17:30:38 +02:00
moklick a9b3ef1d5e text(event-handler): add tests for pane handlers 2022-08-31 15:58:49 +02:00
moklick ba9df1035b refactor(drag-pane): handle middle mouse closes #784, #1767 2022-08-29 18:00:04 +02:00
moklick 22cb21a4ae fix(nodeExtent): use for initial rendering closes #2384 2022-08-29 17:17:48 +02:00
moklick 55c81362bb refactor(zomm): simplify 2022-08-24 14:35:38 +02:00
moklick ecf0476939 fix(edges): use default type if type is invalid 2022-08-23 18:09:57 +02:00
moklick 86ea34b470 refactor(dev-warnings): cleanup 2022-08-17 11:55:37 +02:00
moklick ab14be02f4 feat(nodes): add nodeOrigin prop 2022-08-17 11:43:52 +02:00
moklick d2d4b76e65 feat(a11y): add aria live message on move by keyboard 2022-08-16 18:21:20 +02:00
moklick 820cb1c880 feat(hooks): add useOnViewportChange 2022-08-10 16:01:29 +02:00
moklick 94463cd0be refactor(styling): dont inject styles 2022-08-09 18:42:12 +02:00