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}
thanks
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}
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
many thanks
always amazed on how great this community is