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

Interface. Sshape Element

sprotty-protocol / SShapeElement

Interface: SShapeElement

Defined in: model.ts:55

Base type for all elements of the diagram model. Each model element must have a unique ID and a type that is used to look up its view.

Extends

Extended by

Properties

children?

optional children: SModelElement[]

Defined in: model.ts:27

Inherited from

SModelElement.children


cssClasses?

optional cssClasses: string[]

Defined in: model.ts:28

Inherited from

SModelElement.cssClasses


id

id: string

Defined in: model.ts:26

Inherited from

SModelElement.id


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

SModelElement.type