Nodes Browser

ComfyDeploy: How ComfyUI-Bmad-DirtyUndoRedo works in ComfyUI?

What is ComfyUI-Bmad-DirtyUndoRedo?

ComfyUI extension that adds undo (and redo) functionality.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyUI-Bmad-DirtyUndoRedo and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

Bmad's Dirty Undo-Redo for ComfyUI

IMPORTANT: as of Nov 28, 2023 ComfyUI has the undo/redo functionality, thus making this extension obsolete.

After updating your local ComfyUI you will have to remove or disable the extension as it will conflict with the now existing functionality.

To completely remove the extension you may need to delete the ZZZ-Bmad-DirtyUndoRedo inside the web/extensions directory. (the latest version of this extension will delete this folder after starting ComfyUI)

Alternatively, if you wish to keep using the extension you will have to remove the undoRedo.js from the web\extensions\core directory.


ComfyUI extension that adds undo (and redo) functionality.

Undo: <kbd>Ctrl</kbd>/<kbd></kbd> + <kbd>Z</kbd>

Redo: <kbd>Ctrl</kbd>/<kbd></kbd> + <kbd>Y</kbd> ; or <kbd>Ctrl</kbd>/<kbd></kbd> + <kbd>Shift</kbd> + <kbd>Z</kbd>

Keeping the keys pressed will repeat the undo/redo operation at an ever-increased pace.

Installation:

  • Navigate to /ComfyUI/custom_nodes/ folder;
  • git clone https://github.com/bmad4ever/ComfyUI-Bmad-DirtyUndoRedo.

Why "dirty"?

I was mainly concerned with getting a somewhat working solution quickly and not so much with implementing it "right". For example, the undo/redo data contains snapshots of the entire serialized workflow (this is overkill), and I'm not considering changing it.