Sprotty
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Interface. Scompartment

sprotty-protocol / SCompartment

Interface: SCompartment

Defined in: model.ts:96

A compartment is used to group multiple child elements such as labels of a node. Usually a vbox or hbox layout is used to arrange these children.

Extends

Properties

children?

optional children: SModelElement[]

Defined in: model.ts:27

Inherited from

SShapeElement.children


cssClasses?

optional cssClasses: string[]

Defined in: model.ts:28

Inherited from

SShapeElement.cssClasses


id

id: string

Defined in: model.ts:26

Inherited from

SShapeElement.id


layout?

optional layout: LayoutKind

Defined in: model.ts:179

Inherited from

LayoutContainer.layout


layoutOptions?

optional layoutOptions: ModelLayoutOptions

Defined in: model.ts:150

Inherited from

LayoutableChild.layoutOptions


position?

optional position: Point

Defined in: model.ts:135

Inherited from

Locateable.position


size?

optional size: Dimension

Defined in: model.ts:142

Inherited from

BoundsAware.size


type

type: string

Defined in: model.ts:25

Inherited from

SShapeElement.type