Is it possible to utilise Node Expansion when returning objects from nodes? #5587
Replies: 1 comment
-
|
Hi!
My understanding is that For your case, you can create a small utility node class that takes inputs and outputs a mapping, then use this node in the subgraph, and put its output link in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody,
I am utilizing Node Expansion (docs). This is a really powerful feature that allows my custom node to return a subgraph of nodes on the fly, taking advantage of the built-in caching functionality in ComfyUI.
However, when returning values from the node:
If I log the returned value from the node, outputs directly in the tuple appear to be correctly expanded, but those in the object are still the raw links, e.g.:
where I would expect:
I was hoping that I might be able to utilize Node Expansion and then combine outputs into single object to easily "pipe" it to another node. Is there any way to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions