GraphHistoryStack
The reactive undo/redo status returned by useGraphHistoryStack:
live stack counts and the canUndo / canRedo flags for toolbar buttons.
Properties
canRedo
readonly canRedo: boolean;
Whether there are commands to redo.
canUndo
readonly canUndo: boolean;
Whether there are commands to undo.
redoCount
readonly redoCount: number;
Number of commands in the redo stack.
undoCount
readonly undoCount: number;
Number of commands in the undo stack.