@vue-flow/monorepo • Docs
Interface: MiniMapProps ​
Properties ​
ariaLabel? ​
optionalariaLabel:null|string
height? ​
optionalheight:number
inversePan? ​
optionalinversePan:boolean
Enable inverse panning, i.e. drag minimap to move viewport in opposite direction
maskBorderRadius? ​
optionalmaskBorderRadius:number
Mask border radius
maskColor? ​
optionalmaskColor:string
Background color of minimap mask
maskStrokeColor? ​
optionalmaskStrokeColor:string
Border color of minimap mask
maskStrokeWidth? ​
optionalmaskStrokeWidth:number
Border width of minimap mask
nodeBorderRadius? ​
optionalnodeBorderRadius:number
Node border radius
nodeClassName? ​
optionalnodeClassName:string|MiniMapNodeFunc
Additional node class name, can be either a string or a string func that receives the current node
nodeColor? ​
optionalnodeColor:string|MiniMapNodeFunc
Node color, can be either a string or a string func that receives the current node
nodeStrokeColor? ​
optionalnodeStrokeColor:string|MiniMapNodeFunc
Node stroke color, can be either a string or a string func that receives the current node
nodeStrokeWidth? ​
optionalnodeStrokeWidth:number
Node stroke width
offsetScale? ​
optionaloffsetScale:number
Specify minimap scale
pannable? ​
optionalpannable:boolean
Enable drag minimap to drag viewport
position? ​
optionalposition:PanelPositionType|PanelPosition
Position of the minimap PanelPosition
width? ​
optionalwidth:number
zoomable? ​
optionalzoomable:boolean
Enable zoom minimap to zoom viewport
zoomStep? ​
optionalzoomStep:number
Specify zoom step