ComfyUI-Bmad-DirtyUndoRedo

ComfyUI-Bmad-DirtyUndoRedo
★ 50

撤销重做工作流快照脏实现JavaScript扩展
为ComfyUI添加撤销与重做功能,通过保存整个序列化工作流快照实现快速可用的回退/前进操作,属于实现简单但有效的“dirty”方案。
💡 编辑节点图时快速回退或重做全部工作流的改动。
🍴 6 Forks💻 JavaScript🔄 2024-05-22
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/86a6deb1b5f6
📄 README

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: 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.
  • 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.