MinimapNodeStyle
since v1.0.0Style properties that can be applied to minimap nodes. All properties are optional - unset properties use CSS defaults.
Properties
Section titled “Properties”cssClass?
Section titled “cssClass?”
optionalcssClass:string
CSS class to apply to the node
optionalfill:string
Fill color for the node
opacity?
Section titled “opacity?”
optionalopacity:number
Opacity from 0 to 1
shape?
Section titled “shape?”
optionalshape:MinimapNodeShape
Shape of the node in the minimap. Defaults to ‘rect’.
stroke?
Section titled “stroke?”
optionalstroke:string
Stroke color for the node
strokeWidth?
Section titled “strokeWidth?”
optionalstrokeWidth:number
Stroke width in pixels