I'm trying to find a way to collapse only the 'width' edges on a strip of faces, leaving only edges that run along the center of each strip. This needs to work for multiple strips (mesh islands) as part of the same mesh. Underneath is diagram of what I'm aiming for
for context I have another GN setup that uses these strips as input, but I would also like to extract the center edge for a separate use
Some things I've thought of but can't manage to execute-
-using Corners of face and offset corner in face into vertex of corner to get the width of each face then trying to move the verts inward half the width
-subdividing the mesh and using shortest edge paths/paths to curves to find a path from start to end down the middle (wouldn't be ideal as adds extra verts but usable)
thanks for reading!
edit: trying to come at it from a different angle, if I split the individual faces and place points on the edges, anywhere where there are 2 points on top of each other would be where a vert needs to go, or for the ends any edge whose verts connect to only 2 edges. Stuck again now though.