Skip to content

pivotick v3.0.0


pivotick / RendererOptions / NodeTier

Interface: NodeTier ​

Defined in: interfaces/RendererOptions.ts:447

One drawing of a node, and the size at which it takes over. See NodeStyle.tiers.

Properties ​

height ​

height: number

Defined in: interfaces/RendererOptions.ts:456


minRenderedSize? ​

optional minRenderedSize: number

Defined in: interfaces/RendererOptions.ts:465

Rendered footprint in CSS pixels at which this tier takes over, i.e. footprint x zoom.

Defaults to width, which reads as "engage once there is room for this drawing". That is exact for the widest tier, which then appears at its design size at zoom 1; a narrower tier engages earlier and is drawn proportionally smaller, so set this by hand if an intermediate tier should appear at the size it was drawn at.


style ​

style: NodeTierStyle

Defined in: interfaces/RendererOptions.ts:449

Merged over the resolved base style while this tier is active.


width ​

width: number

Defined in: interfaces/RendererOptions.ts:455

The box this drawing is designed to fill, in graph units. Declared rather than measured: it sets the node's footprint and this tier's default threshold before anything is drawn, so the layout never has to wait for a measurement.