Comfy-Org / Comfy-Org/ComfyUI_frontend
[Feature Request]: There could be an option to show the input/output slots to the sides of widgets
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 704
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 512
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
### What would your feature do ?
Currently the slots don't share vertical space with widgets. If a node has a lot of inputs or outputs, the upper half of it is almost wasted. It looks like:
```
o o
o o
o o
o
========
========
```
And this would be much nicer:
```
o o
o o
o ======== o
======== o
```
There can be an option to toggle how a specific node or all nodes are shown.
### Proposed workflow
1. Open the context menu of a node
2. Select "Toggle compact view"
or
1. Select a node
2. Press the toggle hotkey
or
1. Open the context menu
2. Select "Show all slot in the old/compact way"
### Additional information
_No response_
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-2217-Feature-Request-There-could-be-an-option-to-show-the-input-output-slots-to-the-side-1776d73d365081f7b030cfcbb6e2439d) by [Unito](https://www.unito.io)
Contributor guide
Research direction
Start by locating the node rendering and slot layout entry points, then trace the node context menu and hotkey handling described in the proposed workflow. Compare the current and compact layouts in the issue examples and define how the toggle applies to one node versus all nodes. Done means the option works through the context menu and hotkey, with both slot arrangements rendering correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100