How to make trees of data into one line?

hi all,

i have the following data, its a bit jumbled up but i want to reorganize the data in such a way that it i can use the polyline function so that it will create a single line as such

ive also attached the gh file.

GH Help.gh (5.3 KB)

Hello, how about [Flip Matrix]?

GH Help_Re.gh (9.7 KB)

1 Like

almost there, but id like the points to connect all the way to each other

Hello,like this?
There seems to be an easier way to do this…

GH Help_Re2.gh (11.9 KB)

1 Like

The 3 sets of points are not on same level of tree.
With simplify on set 2 and 3, they come on same level.
Now the flip matrix works on all sets.



GH HelpEW.gh (7.2 KB)

1 Like

thank you!

i have two trees of data in each point, how can i add them together while not flattening it?
i also want it to have the same number structure so i can add a polyline component to them

GH Help3.gh (4.3 KB)

1 Like

GH Help mrtn.gh (11.6 KB)

1 Like