Skip to content

NodeGraphGroup

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

A visual backdrop rectangle drawn under nodes. Groups in v1 are purely decorative — nodes are not children of a group, they simply happen to overlap with it. Selection of a group through marquee/click can be wired up by the consumer via onContextMenu / future selection API.

Properties

bounds

bounds: WorldRect

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

Group rectangle in world coordinates.


color?

optional color: string

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

Optional CSS colour string used for the group tint and label.


id

id: string

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

Stable identity.


label?

optional label: string

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

Optional title shown above the group’s top edge.