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

Interface. Snode

sprotty-protocol / SNode

Interface: SNode

Defined in: model.ts:63

Model element class for nodes, which are the main entities in a graph. A node can be connected to another node via an SEdge. Such a connection can be direct, i.e. the node is the source or target of the edge, or indirect through a port, i.e. it contains an SPort which is the source or target of the edge.

Extends

Properties

anchorKind?

optional anchorKind: string

Defined in: model.ts:64


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


hoverFeedback?

optional hoverFeedback: boolean

Defined in: model.ts:209

Inherited from

Hoverable.hoverFeedback


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


opacity?

optional opacity: number

Defined in: model.ts:217

Inherited from

Fadeable.opacity


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


type

type: string

Defined in: model.ts:25

Inherited from

SShapeElement.type