Keep only edges that create a closed loop

VMTK - the Vascular Modeling Toolkit (VTK-based toolkit for analyzing vascular trees) can process such networks. It can label branches, compute metrics that you can use to keep/remove branches. See vmtkbranch* scripts for examples how to use the filters.

1 Like