Comfy-Org / Comfy-Org/ComfyUI_frontend
Suggestions regarding the subgraph intpu
- 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 problem are you experiencing?
1: The order of input parameters for sub-graphs cannot be adjusted. If you want to insert a new parameter before a certain input when editing a sub-graph, you need to delete the subsequent parameters before adding it, which makes the operation very cumbersome
2: Default input cannot be set (this issue can be ignored for numerical input), for example, when I want to set a default value for a custom type of input
3: All copied sub-graphs are instances, and the association between specified sub-graphs cannot be removed
### When does this problem occur?
(Because it is a new suggestion, it is omitted here)
### How often do you encounter this problem?
Multiple times per day
### How much does this problem affect your workflow?
Causes moderate inconvenience
### Current workarounds
I am not very familiar with front-end code and would like to provide the following reference suggestions
### Ideas for solutions (Optional)
Suggestions regarding the sub-graph intpu:
1: Add a button for adjusting the order. When holding down the left button and dragging, the order can be adjusted
2: Add input points for entering default values (optional)
3: Add an outer frame referencing the original style to accommodate the newly added UI
Regarding the issue of subgraph instances:
1: Suggest adding a subgraph number to the upper right corner of the subgraph node, with the same number used as the instance association
2: Right click on the selected workflow subgraph node (multiple nodes can be selected) and add the disassociation function group:
Disassociation: Disassociate one or more selected subgraphs from the same subgraph that has not been selected in the current workflow, while the selected subgraphs remain associated
Cancel selected association: Execute the cancel association function, and then remove the association between multiple selected subgraphs (if only one is selected, it will be the same as the cancel association function)
Cancel all selected associations: Search for all instances of the selected subgraph in the current workflow. Unlink these instances
### Additional context
_No response_
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-5419-Suggestions-regarding-the-subgraph-intpu-2676d73d365081fb92cec3336dd40c78) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.