Skip to content

CanvasGroupData

A node that represents a group.

Extends

Properties

background?

optional background: string

Optional background image, stores the path to the image file in the vault.


backgroundStyle?

optional backgroundStyle: BackgroundStyle

Optional background image rendering style; defaults to ‘cover’.


color?

optional color: string

The color of this node

Inherited from

CanvasNodeData.color


height

height: number

Inherited from

CanvasNodeData.height


id

id: string

The unique ID for this node

Inherited from

CanvasNodeData.id


label?

optional label: string

Optional label to display on top of the group.


type

type: "group"


width

width: number

Inherited from

CanvasNodeData.width


x

x: number

Inherited from

CanvasNodeData.x


y

y: number

Inherited from

CanvasNodeData.y