Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

CreateLabelProgramOptions

Defined in: packages/sigma/src/rendering/nodes/labels/factory.ts:43

Options for creating a label program.

Properties

label?

optional label?: LabelOptions

Defined in: packages/sigma/src/rendering/nodes/labels/factory.ts:60

Label styling and behavior options.


rotateWithCamera?

optional rotateWithCamera?: boolean

Defined in: packages/sigma/src/rendering/nodes/labels/factory.ts:55

Whether nodes rotate with the camera. When true, labels rotate with the node. When false (default), labels stay screen-aligned.


shapes

shapes: SDFShape[]

Defined in: packages/sigma/src/rendering/nodes/labels/factory.ts:48

Array of SDF shape definitions. The label will use the correct shape based on each node’s shapeId.