mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-18 23:37:04 +08:00
adds keybinds to readme and converts to table
This commit is contained in:
parent
7b40693287
commit
17d6f0548f
30
README.md
30
README.md
@ -31,15 +31,27 @@ This ui will let you design and execute advanced stable diffusion pipelines usin
|
|||||||
|
|
||||||
Workflow examples can be found on the [Examples page](https://comfyanonymous.github.io/ComfyUI_examples/)
|
Workflow examples can be found on the [Examples page](https://comfyanonymous.github.io/ComfyUI_examples/)
|
||||||
|
|
||||||
## Shortcuts
|
## Shortcuts/Keybinds
|
||||||
- **Ctrl + A** select all nodes
|
|
||||||
- **Ctrl + M** mute/unmute selected nodes
|
| Keybind | Explanation |
|
||||||
- **Delete** or **Backspace** delete selected nodes
|
| - | - |
|
||||||
- **Space** Holding space key while moving the cursor moves the canvas around. It works when holding the mouse button down so it is easier to connect different nodes when the canvas gets too large.
|
| Enter | Queues up current graph for generation |
|
||||||
- **Ctrl/Shift + Click** Add clicked node to selection.
|
| Ctrl + A | Select all nodes |
|
||||||
- **Ctrl + C/Ctrl + V** - Copy and paste selected nodes, without maintaining the connection to the outputs of unselected nodes.
|
| Ctrl + M | Mute/unmute selected nodes |
|
||||||
- **Ctrl + C/Ctrl + Shift + V** - Copy and paste selected nodes, and maintaining the connection from the outputs of unselected nodes to the inputs of the newly pasted nodes.
|
| Delete/Backspace | Delete selected nodes |
|
||||||
- Holding **Shift** and drag selected nodes - Move multiple selected nodes at the same time.
|
| Space | Move the canvas around when held and moving the cursor |
|
||||||
|
| Ctrl/Shift + Click | Add clicked node to selection |
|
||||||
|
| Ctrl + C/Ctrl + V | Copy and paste selected nodes (without maintaining connections to outputs of unselected nodes) |
|
||||||
|
| Ctrl + C/Ctrl + Shift + V| Copy and paste selected nodes (maintaining connections from outputs of unselected nodes to inputs of pasted nodes) |
|
||||||
|
| Shift + Drag | Move multiple selected nodes at the same time |
|
||||||
|
| F | Places current graph at the front of the queue |
|
||||||
|
| Q | Toggles visibility of the queue |
|
||||||
|
| H | Toggles visibility of history |
|
||||||
|
| S | Saves current graph as json |
|
||||||
|
| L | Brings up file input to load graphs |
|
||||||
|
| R | Refreshes graph |
|
||||||
|
| C | Clears graph |
|
||||||
|
| D | Loads default graph |
|
||||||
|
|
||||||
# Installing
|
# Installing
|
||||||
|
|
||||||
|
|||||||
@ -24,7 +24,6 @@ app.registerExtension({
|
|||||||
};
|
};
|
||||||
|
|
||||||
const buttonId = keyToButtonIdMap[event.key];
|
const buttonId = keyToButtonIdMap[event.key];
|
||||||
console.log(event.key, buttonId);
|
|
||||||
if (buttonId) {
|
if (buttonId) {
|
||||||
const button = document.querySelector(`#${buttonId}`);
|
const button = document.querySelector(`#${buttonId}`);
|
||||||
button.dispatchEvent(new Event("click"));
|
button.dispatchEvent(new Event("click"));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user