Skip to content

@graphty/graphty-element / session / LayerPosition

Interface: LayerPosition ​

Defined in: graphty-element/src/session/styles/Layer.ts:135

Where a layer goes when it is added, said as a neighbour rather than as a number.

Exactly one of the two, or neither for the top of the stack. A position expressed as an index is a position that goes wrong the moment anything else moves.

Properties ​

above? ​

readonly optional above?: string

Defined in: graphty-element/src/session/styles/Layer.ts:137

Put the new layer immediately above this one.


below? ​

readonly optional below?: string

Defined in: graphty-element/src/session/styles/Layer.ts:139

Put the new layer immediately below this one.