The Voronoi diagram is just the dual graph of the Delaunay triangulation.
- So, the edges of the Voronoi diagram are along the perpendicular bisectors of the edges of the Delaunay triangulation, so compute those lines.
- Then, compute the vertices of the Voronoi diagram by finding the intersections of adjacent edges.
- Finally, the edges are then the subsets of the lines you computed which lie between the corresponding vertices.
Note that the exact code depends on the internal representation you’re using for the two diagrams.