Skip to content

MinimapNodeStyle

since v1.0.0

Style properties that can be applied to minimap nodes. All properties are optional - unset properties use CSS defaults.

optional cssClass: string

CSS class to apply to the node


optional fill: string

Fill color for the node


optional opacity: number

Opacity from 0 to 1


optional shape: MinimapNodeShape

Shape of the node in the minimap. Defaults to ‘rect’.


optional stroke: string

Stroke color for the node


optional strokeWidth: number

Stroke width in pixels