742 B
742 B
@reactflow/core, @reactflow/minimap, @reactflow/node-toolbar, reactflow
| @reactflow/core | @reactflow/minimap | @reactflow/node-toolbar | reactflow |
|---|---|---|---|
| minor | minor | minor | minor |
New Features
New 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