History and undo
Every change of the graph, yours or the assistant's, makes a new version of the graph. The status bar shows its number ("Version 79"). From this history come undo, redo and the replay of how the graph grew. The history is kept in the app's data and survives a restart.
Undo and redo
- Edit ▸ Undo (
Ctrl+Z) or the back arrow on the toolbar takes back the last change. Its tooltip names it: "Undo: add KSampler", "Undo: set KSampler.steps", "Undo: arrange the graph". - Edit ▸ Redo (
Ctrl+Shift+Z) puts it back. - The steps the assistant made one after another are one step: "Undo: the assistant's consecutive steps (16)".
- These are one step each too: opening a workflow, a new project, arranging, deleting several nodes ("removing 3 items"), a paste, a cut or a duplicate, a burst of arrow presses or a drag of several nodes, a group moved by its title, a node added from a dropped link together with that link ("adding a node with its link"), bypass, mute, a colour, replacing a node.
- If you press Undo while an edit is still landing, the app waits for it and undoes that edit.
What undo cannot do
- "The assistant is still building. Stop it to undo."
- "This build is too old to undo in one step: the version of the graph before it is no longer kept."
- Settings, keys, the chat and the conversation log are not part of the graph history.
Replay the history
- Press the clock button on the canvas toolbar, or Graph ▸ Replay history.
- The canvas shows the newest version, read-only: "Version 40 of 40: add Save Image. Read-only."
- Drag the Version slider, or press Play to watch the graph grow. Each version shows what it changed: new nodes and links draw in, removed ones fade, changed ones flash, moved ones glide.
- Exit replay,
Escapeor the same menu item go back to the current graph. Nothing changed. - Return to this version makes the graph this version again, as a new step: "The graph is back at version 12. Later versions stay in the history."
While the replay shows, the graph does not change: an edit says "History replay is open". Node, Arrange and Tour are hidden on the canvas toolbar. When the assistant starts a build, the replay closes: "History replay closed: the helper is building on the current graph."
How much is kept
Up to 2000 versions per project; for very large graphs fewer, never fewer than 200. Older versions are removed by themselves.
Limits
- On a graph of many hundreds of nodes an undo can take a second or more.