nodeRotationFlags
nodeRotationFlags(
data): [number,number]
Defined in: packages/sigma/src/utils/display-data.ts:22
Encodes a node’s rotation-alignment styles as the two GPU flags written to
texel 1 of the node-data texture: [nodeRotation, labelRotation], each
0 = viewport (screen-upright) or 1 = graph (turns with the camera).
Parameters
Section titled “Parameters”labelRotationAlignment?
Section titled “labelRotationAlignment?”string
rotationAlignment?
Section titled “rotationAlignment?”string
Returns
Section titled “Returns”[number, number]