Comfy-Org / Comfy-Org/ComfyUI_frontend

Subgraph optional input sockets

Open
#8,760 3 comments 0 reactions 0 assignees View on GitHub
area:subgraph
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### What problem are you experiencing?

Using switches inside of a subgraph becomes completely redundant without the ability to make input sockets optional.

Here I have 3 image inputs, which are optional and controlled with switches inside the subgraph, yet compulsory causing an error if not connected.
A logical fallacy caused by a missing fundamental core feature that should exist for subgraphs.

Image

### When does this problem occur?

yes

### How often do you encounter this problem?

Multiple times per day

### How much does this problem affect your workflow?

Blocks me from completing tasks

### Current workarounds

_No response_

### Ideas for solutions (Optional)

_No response_

### Additional context

_No response_

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.