Interface for commands that support undo operations. Commands implementing this interface must define how to revert their effects.
Reverts the changes made by this command, restoring the previous state. Should be side-effect-free beyond restoring canvas or model state.
Interface for commands that support undo operations. Commands implementing this interface must define how to revert their effects.