1. A physical medium holding computer-executable instructions for compressing a series of operations performed on an application object, comprising: instructions for providing a class definition for a transaction object, the transaction object including at least one function that compresses an identified series of operations performed on an instance of an application object class used in a graphical model; instructions for deriving an application object from the class definition for the transaction object, where the application object is used in a graphical model; instructions for performing a series of operations on the derived application object; and instructions for compressing the series of operations using the at least one function to produce a compressed series, where the compressed series is used to log, undo, or redo a longer series of operations that can be represented as a smaller series of operations.