CreateLabelProgramOptions
Defined in: packages/sigma/src/rendering/nodes/labels/factory.ts:43
Options for creating a label program.
Properties
label?
optionallabel?:LabelOptions
Defined in: packages/sigma/src/rendering/nodes/labels/factory.ts:60
Label styling and behavior options.
rotateWithCamera?
optionalrotateWithCamera?: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.