NodeGraphMinimapSlotProps
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:580
Properties
Section titled “Properties”className?
Section titled “className?”
optionalclassName?:string
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:606
Optional className applied to the minimap wrapper.
margin?
Section titled “margin?”
optionalmargin?:number
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:600
Distance from the edge for preset placements (CSS px).
Default
Section titled “Default”12nodeStyle?
Section titled “nodeStyle?”
optionalnodeStyle?: (node) =>NodeGraphMinimapNodeStyle|undefined
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:618
Per-node colouring. Return { color } to tint the rect, or
{ color, headerColor } to draw a two-tone header/body mini-node that
mirrors the real node. When omitted, every node uses the default colour
(or selectedColor while selected).
Parameters
Section titled “Parameters”Returns
Section titled “Returns”NodeGraphMinimapNodeStyle | undefined
placement?
Section titled “placement?”
optionalplacement?:"top-right"|"top-left"|"bottom-right"|"bottom-left"| {bottom?:string|number;height?:string|number;left?:string|number;right?:string|number;top?:string|number;width?:string|number; }
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:586
Anchored position inside the graph. Matches ViewportMinimap’s
placement (string preset or custom anchor object).
Default
Section titled “Default”'bottom-right'selectedColor?
Section titled “selectedColor?”
optionalselectedColor?:string
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:611
CSS colour used to highlight selected nodes inside the minimap. When omitted, selected nodes use the same colour as unselected ones.
title?
Section titled “title?”
optionaltitle?:ReactNode
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:604
Optional title (rendered as <Minimap.Title>).
width?
Section titled “width?”
optionalwidth?:number
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:602
Minimap width in CSS pixels.
Default
Section titled “Default”200