Remap 2D voronoi edges from cells to vertices

Hi everybody,

I have a 2D voronoi where i cropped the boundary and culled the duplicate vertices.
The edges of the voronoi are sorted in paths according to the voronoi-cells, and I would like to sort them according to their origin vertices. Everything should be scalable to work for n cells.

I think it can be done by testing, if the edge start points are the same as the vertices and remapping them accordingly, but I’m too unfamiliar with the path replacement operators – can anybody help me out?

Thanks and best regards,

200110_voronoi nodes (13.8 KB)

Like this?

200110_voronoi nodes (21.3 KB)

1 Like

Works like a charme – thanks a lot!
I will get my head around sets asap…