How to weave branches of two lists with tree structure?

Hi, I have two data lists with tree structures. I would like to weave the first branch of the first list with the first branch from the second list. My finals lists should consist of branches with the pattern 0,1. Can someone explain how to do that without the path mapper? Thanks

It would help if you posted a sample of your data…

1 Like

I meant a sample of your data, not a selfie of your data.

5 Likes

AGH.gh (10.0 KB)

Hope this helps.


AGH-b.gh (14.2 KB)

Please read again my question. I would like to weave the first branch of the first tree with the first branch of the second tree, etc.

Please read again my question. I would like to weave the first branch of the first tree with the first branch of the second tree, etc.

Your branch lengths are not identical, what do you want to happen with remaining values? longest list rules, shortest list rules, etc. For instance, how do you propose that
branches {0;0;0;0;1;0;0} should weave where one has 26 items and the other has 78? Please be specific when asking questions.

2 Likes

This way works well for me, but I think there is a better solution out there.

1 Like