Skip to main content
FlowDrop provides built-in undo/redo that tracks every workflow change.

Keyboard Shortcuts

These work automatically — no configuration needed.

How It Works

FlowDrop’s history store takes snapshots of the entire workflow state. Each change (node add/remove/move, edge add/remove, config change) pushes a new snapshot onto the undo stack.
  • Undo restores the previous snapshot and pushes the current state onto the redo stack
  • Redo restores the next snapshot from the redo stack
  • Making a new change after undoing clears the redo stack

Programmatic Access

History lives on the instance — resolve it with getInstance() inside the component tree (or use the mount handle’s .instance):

Transactions

Group multiple changes into a single undo step:

Building Custom Undo/Redo Buttons

Outside the component tree, hold the mount handle and read .instance:
In Svelte, resolve the instance and use reactivity instead of polling:

Next Steps