01ef2bce8f7f2a74b1efca737ba6062e498e0f9b
Bmad's Dirty Undo-Redo for ComfyUI
ComfyUI extension that adds undo (and redo) functionality.
Undo: Ctrl/⌘ + Z
Redo: Ctrl/⌘ + Y ; or Ctrl/⌘ + Shift + Z
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.
Troubleshooting
This extension overrides some prototypes' methods but should keep the original behavior intact. Make sure this extension is the last to be loaded so that it affects all node types (web extensions appear to be loaded in alphabetic order with respect to their path).
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.
Languages
JavaScript
97.7%
Python
2.3%