[pgrouting-users] Function to generate Graphviz input from edge table

Hello all,

I just create a small tool that can read a pgRouting edge table and generate Graphviz input for generating an image of you graph.


There is room for improvement in the layout of the nodes in the graph because we already know where they are located, but for not I just let Graphviz to the layout so depending on the layout options used, the graph can get very distorted from the Euclidean layout.

But it works find for plotting small graphs for examples for training materials. I have not tried it on a huge graph.

Improvements would be welcome.