App
DocsCanvasUndo and Redo

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) or Ctrl + Z (Windows/Linux)
  • Redo: Press Cmd + Shift + Z (macOS) or Ctrl + Shift + Z / Ctrl + Y (Windows/Linux)

Tracked Actions

The history stack records:

  1. Node Additions & Deletions: Adding a service or accidentally deleting a cluster.
  2. Move & Resize: Repositioning components or adjusting boundary boxes.
  3. Connections & Edges: Creating, relabeling, or rerouting edges.
  4. Style Changes: Altering node colors, strokes, icons, or labels.
  5. 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.

Need help? Contact Support