Skip to content
Entangle UI v0.13.0

NodeGraphBackgroundSlotProps

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

optional background?: string

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

Optional background colour. Defaults to theme background.primary.


optional color?: string

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

Optional dot/line colour. Defaults to theme border.default.


optional gap?: number

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

Grid spacing in world units. The pattern repeats at this interval regardless of zoom.

24

optional variant?: "none" | "grid" | "dots"

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

Background style. 'dots' and 'grid' are built in; pass 'none' for an opaque background only.

'dots'