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

Interface. Sgraph

sprotty-protocol / SGraph

Interface: SGraph

Defined in: model.ts:48

Root element for graph-like models.

Extends

Properties

bounds?

optional bounds: Bounds

Defined in: model.ts:52

Deprecated

Use position and size instead.


canvasBounds?

optional canvasBounds: Bounds

Defined in: model.ts:35

Inherited from

ViewportRootElement.canvasBounds


children

children: SModelElement[]

Defined in: model.ts:49

Overrides

ViewportRootElement.children


cssClasses?

optional cssClasses: string[]

Defined in: model.ts:28

Inherited from

ViewportRootElement.cssClasses


id

id: string

Defined in: model.ts:26

Inherited from

ViewportRootElement.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


revision?

optional revision: number

Defined in: model.ts:36

Inherited from

ViewportRootElement.revision


scroll?

optional scroll: Point

Defined in: model.ts:111

Inherited from

Viewport.scroll


size?

optional size: Dimension

Defined in: model.ts:142

Inherited from

BoundsAware.size


type

type: string

Defined in: model.ts:25

Inherited from

ViewportRootElement.type


zoom?

optional zoom: number

Defined in: model.ts:123

Inherited from

Viewport.zoom