Skip to content

ZIndexConfig

since v0.8.0

Configuration for z-index layering behavior.

edgesAboveConnectedNodes: boolean

Whether edges should appear above their connected nodes.

false

elevateOnSelection: boolean

Whether selected elements should be elevated by adding selectedZIndex to their computed z-index.

true

enabled: boolean

Whether z-index middleware is enabled.

true

selectedZIndex: number

The z-index value added to selected elements’ computed z-index. Applied cumulatively — a selected child inside a selected parent receives this value twice (once from the parent’s elevation, once from its own).

10000

temporaryEdgeZIndex: number

The z-index value for temporary edge.

2147483647