Undo and Redo
Rekhic tracks every change made to the canvas in an in-memory history stack. This allows you to experiment freely with layout changes, deletions, and connections with full confidence that you can revert back.
Keyboard Shortcuts
- Undo: Press
Cmd + Z(macOS) orCtrl + Z(Windows/Linux) - Redo: Press
Cmd + Shift + Z(macOS) orCtrl + Shift + Z/Ctrl + Y(Windows/Linux)
Tracked Actions
The history stack records:
- Node Additions & Deletions: Adding a service or accidentally deleting a cluster.
- Move & Resize: Repositioning components or adjusting boundary boxes.
- Connections & Edges: Creating, relabeling, or rerouting edges.
- Style Changes: Altering node colors, strokes, icons, or labels.
- Auto Layout Transformations: Running the automatic DAG layout engine can be undone in a single step if the resulting layout isn't desired.
History Checkpoints
To ensure performance, micro-movements during a single drag operation are coalesced into a single history checkpoint when you release the mouse button. This ensures that pressing Undo restores the component to its previous settled position rather than inching backward pixel by pixel.
Next: Learn about organizing components in Grouping.