[wish]Stream Gate could handle data tree

Hi Developers,
It seems that Stream Gate component doesn’t support data tree.I get error message saying:
Gate component can only operate on a single Gate Index value.
See the following picture:


So I think it would be better if Stream Gate could handle data tree.

How would you expect it to work?
Stream Gate is for sending everything in the stream to a specific output. Gate is the index of the output (usually 0 or 1 but you can expand the number of outputs if you zoom in). A tree of indices doesn’t really make sense…

1 Like

maybe a better way to do what -my understanding is- you might want to accomplish is Dispatch + Clean Tree, which would allow you to filter branches based on boolean values

here an example where the original data tree is split in two based on booleans, then gets merged together just to show the final structure is the very same

you can get the very same output also working on Paths alone, like for instance Dispatch + Tree Branch as shown here, but more generally any filtering applied to Paths will work: