raster to graph

Help formatting the graph layout

I am trying to display a graph which is actually a representation of a raster or uniform grid. So I need the edges to be straight and the graph to look like a mesh/grid really. At the moment I am getting a compact format but not as intuitive as having a nice straightforward grid format. Can someone please help?
Attached are the svg/pdf and dot .

Recent comments

Syndicate content