List weaving of branches within tree

I am trying to connect points according to the following logic:

Where every 0 connects to every 1 (besides the 1 in its branch), every 1 connects to every 2 and so forth.

Here is a sample file which replicates the condition:

unnamed_partial.gh (6.8 KB)
Thank you!

this is the first thing that came to my mind, a bit convoluted…


Re.gh (17.8 KB)

the main point was to just avoid copy/paste a Relative Item component combo for each curve… but I ended up using even more components :slight_smile: