Skip to content
sigma.js sigma.js
v4.0.6 Docs Examples GitHub 12.3K

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).

string

string

[number, number]