Skip to content

RotationActionState

since v0.8.0

State tracking a node rotation operation in progress.

optional cancelReason: "cancelled"

Set when the rotation is aborted; carried into nodeRotateEnded.


initialNodeAngle: number

Initial angle of the node before rotation.


nodeId: string

ID of the node being rotated.


startAngle: number

Angle in degrees at the start of the rotation operation.