Comfy-Org / Comfy-Org/ComfyUI_frontend

Hotkeys for fast switching view (canvas) between groups

Open
#6,433 0 comments 0 reactions 0 assignees View on GitHub
area:groups enhancement Feature
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Feature Idea

Often, when creating a structured workflow, we use groups to distribute functionality into separate groups (like isolated subroutines).

But the larger the workflow, the more difficult it is to quickly move from group to group - moving with only the mouse forces the user to zoom too often.

To make groups more convenient to use, I suggest implementing at least hotkeys for quickly switching between groups. Arrows on the keyboard would be a powerful and extremely fast way to switch between workflow groups. You can use both the left and right arrows, as well as the up and down arrows. The switching sequence will be determined by the coordinates of nearby groups.

In addition, you could use the cypher row on the keyboard, setting key groups on them. If the user wants to switch to group number "1", then he must first set this group by selecting the group and pressing the "CTRL" + "1" keys. Then, when he presses "1", the view will automatically switch to this group.

In the future, it would also be very convenient to add a display of the list of groups as tabs at the bottom of the graphical interface. So that the user could quickly switch between groups using the mouse.

Also, in the future, it would also be useful when moving too far away from groups, then in the groups, when hovering over them with the cursor, to visually hide the nodes, replacing them with a large button "approach the group", when clicking on which the user will instantly switch the view to this group of nodes.

### Existing Solutions

_No response_

### Other

_No response_

---

*This issue is transferred from: https://github.com/comfyanonymous/ComfyUI/issues/6641*

Original issue was created by @Shyryp at 2025-01-29T21:17:50.000Z

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-6433-Hotkeys-for-fast-switching-view-canvas-between-groups-29c6d73d36508199bb01d6809815c27e) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.