Comfy-Org / Comfy-Org/ComfyUI_frontend

[Feature Request]: Ablity to reorder inputs/outputs on subgraph

Open
#4,195 6 comments 16 reactions 0 assignees View on GitHub
area:subgraph area:vue-migration area:widgets enhancement
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

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 ?

When created a subgraph from existing connedted nodes, the order of the I/O will seemingly be random.

![Image](https://github.com/user-attachments/assets/3c7ed9b7-7b94-401b-a4c5-b31ce818ff96)

Currently to alter this would require removing each out-of-order I/O and recreating them and all the connections.

![Image](https://github.com/user-attachments/assets/43f99b45-f67c-497b-b0e6-bdb120e79355)

### Proposed workflow

Any method change the order of the subgrpah I/O. Simplest may be options on the I/O's context menu to shift up/down.

![Image](https://github.com/user-attachments/assets/a2233c0a-e7e0-4179-b141-fdceedeb3d5a)

### Additional information

_No response_

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-4195-Feature-Request-Ablity-to-reorder-inputs-outputs-on-subgraph-2146d73d3650812eb300fba62b5e3f3d) 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.