I wrote a component that has a tree as output. The input is one number item. But as I plugin a list of numbers the component is called multiple times and the output is complex tree. I would like to define the output by myself for that case. Is there any example code for that?