The graph-oriented database management system GRAS is used as a repository in design applications for fine-grained data. It offers an undo / redo mechanism based on command logs. We formalize this mechanism an show how to compute inverse command sequences for undoing the effects of a command. Since command logs tend to become very large, we also present a mechanism to compute the net effects of a command sequence on the fly during normal operation.