Skip to content

ActionState

Interface representing the current state of various user interactions in the diagram.

This state is read-only and automatically managed by the library. It provides information about active operations such as resizing, linking, dragging, and other user interactions. Use this to observe the current state, not to modify it.

optional copyPaste: CopyPasteActionState

State related to copy-paste actions


optional dragging: DraggingActionState

State related to dragging elements


optional highlightGroup: HighlightGroupActionState

State related to highlighting groups


optional linking: LinkingActionState

State related to linking nodes


optional resize: ResizeActionState

State related to node resizing action


optional rotation: RotationActionState

State related to node rotation