Board Elements

Board pages store drawable objects in elements and their visual order in elementOrder. Every element has a stable id, a type, and a transform that records its position and size on the canvas.

Common element fields

FieldTypeDescription
idstringElement id, unique within the page.
typeBoardElementTypeElement kind, such as text, shape, image, connector, container, table, or group.
transformIBoardElementTransformPosition, size, rotation, scale, skew, and flip values.
parentId?stringId of the parent container or group.
laneId?stringSwimlane id when the element is inside a swimlane.
name?stringHuman-readable element name.
description?stringAccessibility or application metadata.
visible?booleanWhether the element should render.
selectable?booleanWhether the editor can select the element.
locked?booleanWhether editing is locked.
custom?`Record<string, unknown>null`

Element types

TypeExtra dataTypical use
texttext, textStyle, textDataSticky notes, labels, and rich text blocks.
shapeshapeDataRectangles, arrows, callouts, and custom shapes.
imagesource, imageSourceType, cropEmbedded images.
connectorconnectorDataLines and arrows attached to free points or shapes.
containercontainerDataFrames, areas, swimlanes, UML packages, and system boundaries.
tabletableIdBoard table elements provided by the table plugin.
chartchartIdChart elements.
mediamediaType, sourceAudio and video placeholders.
groupchildrenGrouped element collections.

Containers

A container determines which elements belong to it through containerData.behavior, and which elements it captures through containerData.capturePolicy. Use the Facade container methods to move elements in and out, so that ordering and parent relationships remain consistent.

TypeScript
board.wrapElementsInContainer(['task-1', 'task-2'], {  title: 'Sprint 1',})

Swimlanes

A swimlane is a container that carries containerData.swimlane. Each lane has a stable id, a title, an order value, a size, and an optional collapsed state.

TypeScript
board.setSwimlaneLanes('lane-board', {  orientation: 'horizontal',  lanes: [    { id: 'todo', title: 'Todo', order: 0, size: 240 },    { id: 'doing', title: 'Doing', order: 1, size: 240 },  ],})

Connectors

Connectors consist of endpoints and routing data. An endpoint can be a free point, a shape boundary, a connection site, or a lifeline. Routing data usually depends on geometry, so use Facade operations or UI actions when you edit a connector.

How is this guide?

© 2026 DreamNum Co., Ltd.