[Haskell] ANNOUNCE: graphviz-2999.7.0.0

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Mon Nov 30 09:15:06 EST 2009

I'm pleased to announce the latest version of my Haskell bindings to the
Graphviz [1] suite of tools for visualising graphs.  As usual, it is
available from Hackage [2].

[1] http://graphviz.org/
[2] http://hackage.haskell.org/package/graphviz

Changes in this release include:

* Updated and extended functions to interact with the Graphviz tools.
  This now includes:

  - a better listing of available output types;

  - distinguishing file outputs from canvas outputs;

  - ability to automatically add the correct file extension to file

  - Return any errors if calling Graphviz failed rather than just
    printing them to stderr

* Improved Color support:

  - fixed ColorScheme values

  - explicitly named X11 colors

  - conversion to/from values from the colour library

* Removed OrientationGraph; problems with distinguishing it when
  parsing from node-based Orientation values; its functionality is
  duplicated by Rotate.

* By default, the generated Dot code is now no longer indented; you
  can now use the prettyPrint functions in Data.GraphViz to produce
  readable Dot code.

* Added a testsuite; this is buildable by building with --flags=test.
  Numerous printing and parsing bugs were picked up with this.

Plans for the next release:

* Determine how to deal with encodings, since Graphviz uses UTF-8 by
  default; the hSetEncoding function in GHC-6.12 would be ideal, but

* Add a generic version of the types in Data.GraphViz.Types that would
  let people have more fine-grained control over the layout of their
  graphs by removing the ordering restriction used.  Note that this will
  _not_ be the default, just an option for those that want it.

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell mailing list