space-nuko / ComfyBox

Customizable Stable Diffusion frontend for ComfyUI
GNU General Public License v3.0
607 stars 49 forks source link

"Scope" node for tag actions #84

Open space-nuko opened 1 year ago

space-nuko commented 1 year ago

It's kind of annoying that you can't modularize stuff that toggles nodes based on tags because they only apply to the current subgraph and child subgraphs. So instead why not create a node that indicates where the tag changes should go?

It would be a node with one input and no outputs that can be fed into a graph output and upwards into the parent subgraph the tag actions should apply to. When the action is triggered the action node will follow its output to detect the subgraph the feeler node is placed into. If not the behavior would be the same as it is now