mirror of
https://github.com/Comfy-Org/rfcs.git
synced 2026-11-05 00:17:38 +00:00
[PR #18] RFC: Variable length node inputs #13
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/rfcs#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/rfcs/pull/18
Author: @huchenlei
Created: 1/16/2025
Status: 🔄 Open
Base:
main← Head:dynamic_inputs📝 Commits (2)
7c342d4RFC: Variable length node inputsaa9678fnit📊 Changes
1 file changed (+345 additions, -0 deletions)
View changed files
➕
rfcs/0000-variable-length-node-inputs.md(+345 -0)📄 Description
Summary
This RFC proposes adding support for variable-length inputs in ComfyUI nodes, allowing a single node to accept a dynamic number of inputs. The feature introduces a new
var_lengthinput type configuration that enables nodes to handle multiple inputs through either socket connections or widget inputs, with configurable minimum and maximum input counts. This eliminates the need for multiple fixed-input node variants or chained node connections, resulting in cleaner workflows and more maintainable code.Links
Full Rendered Proposal
Discussion Thread
Important: Do NOT comment on this PR. Please use the discussion thread linked above to provide feedback, as it provides branched discussions that are easier to follow. This also makes the edit history of the PR clearer.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.