New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple connections to/from ports #447
Comments
Multiple outputs work fine... the problem with multiple inputs is the graph is parsed in reverse, from the final node back... and when it reaches a split it has to make a decision. I guess one way to handle it would be to instantiate a new "job" every time it encounters a branch (again, headed in reverse, so a branch would be a multiple-input) but that could very quickly become unreasonable, to attempt to instantiate each possible combination. Some of the graphs I've used could have thousands, easily. Look at your example... imagine parsing it in reverse... do you see the ambiguity there? Edit: Just wanted to note that I make use of Litegraph as it is implemented in ComfyUI (listed on the main page) and it definitely does allow for multiple output connections. I'm not sure if that is something they added themselves or not though, I've never used litegraph by itself/"pure" |
Multi output works just fine. |
From what I have gathered, litegraph.js currently does not support connecting multiple connections to or from a single port (array ports / index ports). A situation like that (generic example graphic):
Is this a known issue, or any plans regarding priority / roadmap?
If I oversaw this in the Demo, please forgive me.
How would one go about adding these features? Pointers on where to start appreciated.
The text was updated successfully, but these errors were encountered: