Skip to content
Entangle UI v0.13.0

NodeGraphMinimapSlotProps

Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:580

optional className?: string

Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:606

Optional className applied to the minimap wrapper.


optional margin?: number

Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:600

Distance from the edge for preset placements (CSS px).

12

optional nodeStyle?: (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).

NodeGraphNode

NodeGraphMinimapNodeStyle | undefined


optional placement?: "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).

'bottom-right'

optional selectedColor?: 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.


optional title?: ReactNode

Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:604

Optional title (rendered as <Minimap.Title>).


optional width?: number

Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:602

Minimap width in CSS pixels.

200