Adding branches together within tree (solved)

Hi
Is there a possibility to always add branches together into one within a tree?
for example:
{1}+{2} -> {1}
{3}+{4} -> {2}
{5}+{6} -> {3}
{7}+{8} -> {4}

Unbenannt

thanks

In this case, you can use list tools, i.e. Partition List
Notice the flatten setting on L input.

tbh, not sure how to do it on trees [with more complex structures].

oh wow
yes. exactly what i needed

thank you

still so much to learn in GH :slight_smile:

Using the dreaded Path Mapper, directly operating on the tree.

still learning aswell :wink:

2 Likes

many thanks :slight_smile:

always amazed on how great this community is