A quick and dirty guide to publishing graphs with Haskell and GraphViz:

http://speely.wordpress.com/2010/09/17/haskell-graphs-and-underpants/

Cheers,
Andrew Pennebaker