Whether redo is available
Whether undo is available
Clear all history
OptionaldiscardRedo to next position state, returns positions + waypoints or null if can't redo
Number of available redo steps
OptionalredoSave current node positions (and optional waypoints) to history
OptionalsaveSave a snapshot with the optional cross-owner transaction sequence.
Undo to previous position state, returns positions + waypoints or null if can't undo
Number of available undo steps
Optionalundo
Return type of the useLayoutHistory hook