# Is there a way to isolate the edge of a 2D Wireframe with geometry nodes?

So I have a 2D wireframe (no faces) on the left and I would like to achieve the result on the right with geometry nodes. Any ideas on how to do this? I lost a couple of hours to try to solve this puzzle with no success.

• It's actually a hard problem to solve I think. You can start exploring the convex hull node. Feb 8 at 14:23
• Sure, that seems to be one of the ways to go. but how would you do it if you did know from which edge you'd start? I know how to get the shortest path but not how to get the longest one. This was reffering to the comment you deleted Feb 8 at 14:25
• Convex hull doesn't seem to help at all since some of the edge vertices disappear inside it Feb 8 at 14:27
• Yeah I deleted the comment because I realized it was wrong. :) Convex hull doesn't cut it I know, but it's a step forward. You can also explore this method youtube.com/watch?v=mnSg5iOS4QU with the new, experimental simulation nodes Feb 8 at 14:30
• I thougt about turning this wireframe into mesh of faces, but still have no idea how to achive it. I would know how to fill multiple closed mesh loops but I dont know how to separate these rectangles that create this wireframe mesh from one another. Any suggestions in this direction? Feb 8 at 14:30

If your mesh also has faces, you can solve this by checking the number of faces connected to the edges, and feeding only this selection into the node Delete Geometry: