Remove Duplicate/Identical Branches

Hi,

I would like to remove duplicate/identical branches in a data-tree, and keep only one occurrence of each branch, as shown on the image below.

The tree is composed of several branches or different sizes which makes the process more complex and I have not been able to find a solution so far. Have not been able to generate mathematical rule to sort them either yet, as some branches have the same values inside but a different order (which I need to keep).

Thank you in advance for your help!

GH_Remove Identical Branches.gh (6.9 KB)

1 Like

GH_Remove Identical Branches.gh (17.6 KB)

4 Likes

Thank you so much, exactly what I needed!