graphviz: Bindings to Graphviz for graph visualisation.

[ bsd3, graphics, graphs, library ] [ Propose Tags ]

This library provides bindings for the Dot language used by the Graphviz ( suite of programs for visualising graphs, as well as functions to call those programs.

Main features of the graphviz library include:

[Skip to Readme]
Versions [RSS] [faq] 2008.7.10, 2008.7.11, 2008.9.6, 2008.9.20, 2009.5.1, 2999.0.0.0, 2999.1.0.0, 2999.1.0.1, 2999.1.0.2, 2999.5.0.0, 2999.5.1.0, 2999.5.1.1, 2999.6.0.0, 2999.7.0.0, 2999.8.0.0, 2999.9.0.0, 2999.10.0.0, 2999.10.0.1, 2999.11.0.0, 2999.12.0.0, 2999.12.0.1, 2999.12.0.2, 2999.12.0.3, 2999.12.0.4, 2999.13.0.0, 2999.13.0.1, 2999.13.0.2, 2999.13.0.3, 2999.14.0.0, 2999.14.1.0, 2999.15.0.0, 2999.15.0.1, 2999.16.0.0, 2999.17.0.0, 2999.17.0.1, 2999.17.0.2, 2999.18.0.0, 2999.18.0.1, 2999.18.0.2, 2999.18.1.0, 2999.18.1.1, 2999.18.1.2, 2999.19.0.0, 2999.20.0.0, 2999.20.0.1, 2999.20.0.2, 2999.20.0.3, 2999.20.0.4, 2999.20.1.0 (info)
Change log
Dependencies base (>=4 && <4.11), bytestring (>=0.9 && <0.11), colour (==2.3.*), containers, directory, dlist (>=0.5 && <0.9), fgl (>=5.4 && <5.6), filepath, graphviz, polyparse (>=1.9 && <1.13), process, temporary (>=1.1 && <1.3), text, transformers (>=0.2 && <0.6), wl-pprint-text (>= && < [details]
License BSD-3-Clause
Copyright Matthew Sackman, Ivan Lazar Miljenovic
Author Matthew Sackman, Ivan Lazar Miljenovic
Revised Revision 1 made by phadej at 2018-09-28T13:11:02Z
Category Graphs, Graphics
Home page
Source repo head: git clone git://
Uploaded by IvanMiljenovic at 2017-05-03T04:49:48Z
Distributions Arch:2999.20.1.0, Debian:2999.20.0.2, Fedora:2999.20.1.0, LTSHaskell:2999.20.1.0, NixOS:2999.20.1.0, Stackage:2999.20.1.0
Executables graphviz-testparsing
Downloads 61524 total (662 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-05-03 [all 1 reports]



Manual Flags

Automatic Flags

Build a utility to test parsing of available Dot code.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for graphviz-2999.19.0.0

[back to package description]

% Haskell bindings to the Graphviz toolkit % Ivan Lazar Miljenovic

The graphviz Library

Hackage Build Status

The graphviz library provides bindings to the Graphviz graph visualisation suite of tools for the purely functional programming language Haskell. It can be downloaded from HackageDB or - if you have cabal-install - installing it is as simple as:

cabal update
cabal install graphviz

Library features

Main features of the graphviz library include:

  • Almost complete coverage of all Graphviz attributes and syntax.

  • Support for specifying clusters.

  • The ability to use a custom node type.

  • Functions for running a Graphviz layout tool with all specified output types.

  • The ability to not only generate but also parse Dot code with two options: strict and liberal (in terms of ordering of statements).

  • Functions to convert FGL graphs and other graph-like data structures to Dot code - including support to group them into clusters - with a high degree of customisation by specifying which attributes to use and limited support for the inverse operation.

  • Round-trip support for passing an FGL graph through Graphviz to augment node and edge labels with positional information, etc.

graphviz is free software licensed under a 3-Clause BSD License.

(C) 2008 Matthew Sackman

(C) 2008 - onwards Ivan Lazar Miljenovic

For more information, feel free to email me.