3.4 KiB
3.4 KiB
@reactflow/node-toolbar
1.1.0-next.0
Minor Changes
-
#2678
baa8689eThanks @moklick! - ## New FeaturesNew props for the ReactFlow component to customize the controls of the viewport and the selection box better:
selectionOnDragprop: Selection box without extra button press (need to setpanOnDrag={false} orpanOnDrag="RightClick"`)panOnDrag="RightClick"optionpanActivationKeyCode="Space"key code for activating dragging (useful when usingselectionOnDrag)selectionMode={SelectionMode.Full}: you can chose if the selection box needs to contain a node fully (SelectionMode.Full) or partially (SelectionMode.Partial) to select itonSelectionStartandonSelectionEndevents
Patch Changes
-
#2660
50032c3dThanks @moklick! - AddgetNodesfunction to the store so that you don't need to doArray.from(store.getState().nodeInternals.values())anymore. -
Updated dependencies [
50032c3d,baa8689e,4244bae2,23afb3ab]:- @reactflow/core@11.4.0-next.0
1.0.2
Patch Changes
-
#2626
d29c401d- Get nodeId from React Flow context if it is not passed explicitly as prop -
Updated dependencies [
e6b5d90f,6ee44e07,aa69c207,d29c401d,0df02f35]:- @reactflow/core@11.3.2
1.0.1
Patch Changes
-
#2594
ec94d9ecThanks @chrtze! - Allow multiple node ids to be passed for enabling multi selection toolbars -
Updated dependencies [
c828bfda,b0302ce4,b2c72813]:- @reactflow/core@11.3.1