How to merge data in tree branch {0;1}, {1:1}, and {2:1} together?

I derived lines on tree circles scaled from one circles and I stack these circles vertically. Lines generated by randomly dividing these circles and connecting to their center points are now in branches: {0 ~ 3: 0~9}. I want to flatten the tree and get these lines grouped in new tree branches horizontally like lines in {0;1}, {1;1}, and {2;1} should be grouped together, but I don’t know how to do it… Can anyone help this?

sound_rose_marker.gh (20.7 KB)

If I understand you right, what you need is Shift Parhs or Trim Tree.


sound_rose_marker_re.gh (18.2 KB)

Thank you very much for your kind help! Your method is great! I tried this before but I found out that this function only put lines on circles with same radius together in the same branch. But what I’m trying to do is put lines in the same horizontal plane together in the same branch.

Then, maybe Flip Matrix after that?


Or If you want something like this…

sound_rose_marker_reV3.gh (11.4 KB)