The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Shortcut Alt + C to collapse/uncollapse selected nodes
Jairo Correa25f0f4e9c8fd
diff --git a/README.md b/README.mdindex 6bef25cee..d622c9072 100644--- a/README.md+++ b/README.md@@ -46,6 +46,7 @@ Workflow examples can be found on the [Examples page](https://comfyanonymous.git| Ctrl + S | Save workflow || Ctrl + O | Load workflow || Ctrl + A | Select all nodes |+| Alt + C | Collapse/uncollapse selected nodes || Ctrl + M | Mute/unmute selected nodes || Ctrl + B | Bypass selected nodes (acts like the node was removed from the graph and the wires reconnected through) || Delete/Backspace | Delete selected nodes |diff --git a/web/scripts/app.js b/web/scripts/app.jsindex 3cf3585d2..1a07d69bc 100644--- a/web/scripts/app.js+++ b/web/scripts/app.js@@ -928,6 +928,16 @@ export class ComfyApp {block_default = true;}+ // Alt + C collapse/uncollapse+ if (e.key === 'c' && e.altKey) {+ if (this.selected_nodes) {+ for (var i in this.selected_nodes) {+ this.selected_nodes[i].collapse()+ }+ }+ block_default = true;+ }+// Ctrl+C Copyif ((e.key === 'c') && (e.metaKey || e.ctrlKey)) {// Trigger onCopy