Skip to main content

Interface: ClassicEntityProps

Defined in: templates/classicTemplate.tsx:35

Props for ClassicEntity component.

See

ClassicEntity

Extends

Properties

PropertyModifierTypeDescriptionInherited from

element

readonly

Element

Target element to render.

TemplateProps.element

elementId

readonly

string

Target element ID (Element.id).

TemplateProps.elementId

elementState

readonly

TemplateState

Template-specific state for the element.

Same as Element.elementState.

TemplateProps.elementState

isExpanded

readonly

boolean

Specifies whether element is in the expanded state.

Same as Element.isExpanded.

Expanded state is stored in the element state with TemplateProperties.Expanded property.

TemplateProps.isExpanded

onlySelected

readonly

boolean

Whether the element is the only selected cell on the canvas.

See

DiagramModel.selection

TemplateProps.onlySelected