Skip to main content

Interface: StandardEntityGroupProps

Defined in: templates/standardElement.tsx:254

Props for StandardEntityGroup component.

See

StandardEntityGroup

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

groupPageSize?

public

number

Default number items to show per page in element group.

Default

6

groupPageSizes?

public

readonly number[]

Available group page sizes to select from.

Default

[5, 10, 15, 20, 30]

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