Skip to content

RosetteOptions

Defined in: network/rosette.ts:15

optional radius?: number | ((physicalId, stateCount) => number)

Defined in: network/rosette.ts:22

Rosette radius for a physical node’s state disc. A number is a constant world-unit radius; a function receives (physicalId, stateCount) to scale per physical node. Default: 4 * sqrt(count) — busier physical nodes fan wider, keeping the on-disc density roughly constant. A physical node with a single state node ignores this and sits exactly on the physical centre.


optional rotate?: number

Defined in: network/rosette.ts:24

Angular offset (radians) applied to every rosette. Default 0.