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

Interface. Slabel

sprotty-protocol / SLabel

Interface: SLabel

Defined in: model.ts:88

A label can be attached to a node, edge, or port, and contains some text to be rendered in its view.

Extends

Properties

alignment?

optional alignment: Point

Defined in: model.ts:193

Inherited from

Alignable.alignment


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


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


selected?

optional selected: boolean

Defined in: model.ts:201

Inherited from

Selectable.selected


size?

optional size: Dimension

Defined in: model.ts:142

Inherited from

BoundsAware.size


text

text: string

Defined in: model.ts:89


type

type: string

Defined in: model.ts:25

Inherited from

SShapeElement.type