Skip to content

NodeGraphMinimapNodeStyle

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

Per-node colouring for the minimap. Return { color } for a flat tinted rect, or add headerColor for a two-tone “header strip + body” mini-node that echoes the real node’s look at a glance.

Properties

color?

optional color: string

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

Body fill colour. Falls back to the minimap’s default item colour.


headerColor?

optional headerColor: string

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

When set, a header strip is drawn on top in this colour (two-tone).