Skip to main content

Interface: ElementProps

Defined in: diagram/elements.ts:71

Properties for Element.

Extended by

Properties

PropertyTypeDescription

elementState?

TemplateState

Initial value for the element template state.

expanded?

boolean

Initial value for the Element.isExpanded state.

If specified as true, the value is added to the Element.elementState with TemplateProperties.Expanded property.

id?

string

Unique and immutable element ID.

If not specified, () is used to create one.

position?

Vector

Initial value for the element position.