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
data
labelRotationAlignment?
string
rotationAlignment?
string
Returns
[number, number]