Immutable undo/redo state over successive versions of a graph. Stores one diff per step, not one graph. Build it with createHistory; every function returns a new history.
Readonly
Undone diffs, the next one to redo last.
Diffs that led to current, oldest first.
current
Immutable undo/redo state over successive versions of a graph. Stores one diff per step, not one graph. Build it with createHistory; every function returns a new history.