Graph diagram tools?

Hi, I am looking for Haskell library to create graph diagrams in png or similar formats. Thanks!

2011/6/22 Dmitri O.Kondratiev
Hi, I am looking for Haskell library to create graph diagrams in png or similar formats.
See the graphviz package: http://hackage.haskell.org/package/graphviz Cheers, Thu

Or Andy Gill's Dotgen - simple and stable:
http://hackage.haskell.org/package/dotgen
On 22 June 2011 16:16, Vo Minh Thu
See the graphviz package: http://hackage.haskell.org/package/graphviz

On 23 June 2011 02:48, Stephen Tetley
Or Andy Gill's Dotgen - simple and stable:
Within the next month, I should hopefully finally finish the new version of graphviz. Various improvements include: * Using Text rather than String (thus improving performance and enforcing UTF-8 encoding) * More user-friendly APIs, especially for Attributes (Data.GraphViz.Attributes now exports a minimal sub-set of the more common attributes; the complete list is now available in Data.GraphViz.Attributes.Complete) * A Dot graph representation with actual graph operations on it * A Dot graph representation based loosely upon dotgen's monadic interface (with Andy's blessing) but with the various Attributes being used rather than (String, String). I think I'm going to be able to make it such that you can define a graph using the monadic interface that will almost look identical to actual Dot code. * Pure haskell re-implementations of "dot -Tcanon" and tred. * Improved documentation with examples. I would like to stress to people considering using other bindings to Graphviz/Dot (such as dotgen, language-dot, or their own cobbled-together interface): be very careful about quoting, etc. I have spent a _lot_ of time checking how to properly escape different values and ensuring correctness under the hood (i.e. there is no need to pre-escape your Text/String values; graphviz will do that for you when generating the actual Dot code). This, after all, is the point of having existing libraries rather than rolling your own each time. As such, I would greatly appreciate knowing what it is that makes you want to use a different library (admittedly the graphviz API isn't as stable as the others, but that's because I keep trying to improve it, and typically state in the Changelog exactly what has changed). -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com
participants (4)
-
Dmitri O.Kondratiev
-
Ivan Lazar Miljenovic
-
Stephen Tetley
-
Vo Minh Thu