NodeGraphMinimapSlotProps
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:580
Properties
className?
optionalclassName:string
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:606
Optional className applied to the minimap wrapper.
margin?
optionalmargin:number
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:600
Distance from the edge for preset placements (CSS px).
Default
12nodeStyle()?
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
node
Returns
NodeGraphMinimapNodeStyle | undefined
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
'bottom-right'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?
optionaltitle:ReactNode
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:604
Optional title (rendered as <Minimap.Title>).
width?
optionalwidth:number
Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:602
Minimap width in CSS pixels.
Default
200