13 KiB
@reactflow/minimap
11.4.1
Patch Changes
- Updated dependencies
11.4.0
Minor Changes
- #2906
4a30185aThanks @hayleigh-dot-dev! - AddnodeComponentprop for passing custom component for the nodes
Patch Changes
-
#2895
3d5764ca- add data-testid for controls, minimap and background -
Updated dependencies [
3d5764ca,83fc4675,b1190837,5fabd272,8f080bd5,b8886514,16bf89f2]:- @reactflow/core@11.6.0
11.3.8
Patch Changes
- Updated dependencies [
72216ff6,959b1114,0d259b02,f3de9335,23424ea6,021f5a92]:- @reactflow/core@11.5.5
11.3.7
Patch Changes
- Updated dependencies [
383a074a]:- @reactflow/core@11.5.4
11.3.6
Patch Changes
11.3.5
Patch Changes
-
Updated dependencies [
d8c679b4]:- @reactflow/core@11.5.2
11.3.4
Patch Changes
- Updated dependencies [
71153534]:- @reactflow/core@11.5.1
11.3.3
Patch Changes
11.3.2
Patch Changes
11.3.1
Patch Changes
11.3.0
Patch Changes
-
#2660
50032c3d- AddgetNodesfunction to the store so that you don't need to doArray.from(store.getState().nodeInternals.values())anymore. -
Updated dependencies [
ab2ff374,50032c3d,baa8689e,4244bae2,7ef29108,23afb3ab]:- @reactflow/core@11.4.0
11.3.0-next.1
Minor Changes
- panOnDrag: Use numbers for prop ([1,2] = drag via middle or right mouse button)
- selection: do not include hidden nodes
- minimap: fix onNodeClick for nodes outside the viewport
- keys: allow multi select when input is focused
Patch Changes
- Updated dependencies []:
- @reactflow/core@11.4.0-next.1
11.3.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. -
#2659
4244bae2Thanks @moklick! - Use translateExtent correctly -
Updated dependencies [
50032c3d,baa8689e,4244bae2,23afb3ab]:- @reactflow/core@11.4.0-next.0
11.2.3
Patch Changes
-
#2646
e6b5d90f- Cleanup get node position with origin usage -
Updated dependencies [
e6b5d90f,6ee44e07,aa69c207,d29c401d,0df02f35]:- @reactflow/core@11.3.2
11.2.2
Patch Changes
7ece618dThanks @lounsbrough! - Fix minimap node position
11.2.1
Patch Changes
-
#2595
c828bfdaThanks @chrtze! - Fix and improve the behaviour when using nodeOrigin in combination with subflows -
Updated dependencies [
c828bfda,b0302ce4,b2c72813]:- @reactflow/core@11.3.1
11.2.0
Minor Changes
- #2562
d745aa33Thanks @moklick! - Add maskStrokeColor and maskStrokeWidth props - #2545
8f63f751Thanks @chrtze! - add a new property "ariaLabel" to configure or remove the aria-label of the minimap component
Patch Changes
11.1.0
Minor Changes
Patch Changes
11.0.3
Patch Changes
- cleanup types
- Updated dependencies:
- @reactflow/core@11.1.2
11.0.2
Patch Changes
- Updated dependencies:
- @reactflow/core@11.1.1
11.0.1
Patch Changes
11.0.0
Major Changes
- Better Accessibility
- Nodes and edges are focusable, selectable, moveable and deleteable with the keyboard.
aria-default attributes for all elements and controllable viaariaLabeloptions- Keyboard controls can be disabled with the new
disableKeyboardA11yprop
- Better selectable edges via new edge option:
interactionWidth- renders invisible edge that makes it easier to interact - Better routing for smoothstep and step edges: https://twitter.com/reactflowdev/status/1567535405284614145
- Nicer edge updating behaviour: https://twitter.com/reactflowdev/status/1564966917517021184
- Node origin: The new
nodeOriginprop lets you control the origin of a node. Useful for layouting. - New background pattern:
BackgroundVariant.Crossvariant useOnViewportChangehook - handle viewport changes within a componentuseOnSelectionChangehook - handle selection changes within a componentuseNodesInitializedhook - returns true if all nodes are initialized and if there is more than one node- Deletable option for Nodes and edges
- New Event handlers:
onPaneMouseEnter,onPaneMouseMoveandonPaneMouseLeave - Edge
pathOptionsforsmoothstepanddefaultedges - Nicer cursor defaults: Cursor is grabbing, while dragging a node or panning
- Pane moveable with middle mouse button
- Pan over nodes when they are not draggable (
draggable=falseornodesDraggablefalse) <BaseEdge />component that makes it easier to build custom edges- Separately installable packages
- @reactflow/core
- @reactflow/background
- @reactflow/controls
- @reactflow/minimap
Patch Changes
- Updated dependencies:
- @reactflow/core@11.0.0