Comfy-Org / ComfyUI_frontend

Official front-end implementation of ComfyUI
https://www.comfy.org/
GNU General Public License v3.0
658 stars 124 forks source link

[Node definition] Dynamic number of inputs #1095

Open huchenlei opened 2 months ago

huchenlei commented 2 months ago

Related issue: https://github.com/Comfy-Org/ComfyUI_frontend/issues/478

We should support dynamic number of inputs based on connection which maps to backend python function's *args argument in function signature.

Amorano commented 1 month ago

*args? or *kwargs? dynamic inputs slots can have names, args is only positional.

chenbaiyujason commented 1 month ago

This is very important, and I think we need a unified mapping that is defined in python