Logo for page: Graph-module-demos
Graph module demos
Last updated: Mon, 19-May-2014
Overview of Graphviz and the corresponding Perl modules
Graphviz, from AT & T Research Labs, is a stand-alone package for manipulating graphs.
See Wikipediafor more on graphs.
Graphviz contains an array of programs and APIs.
A typical tool within this package is dot, which takes as input a (text file) graph description written in the DOT language. Such files are simply referred to as *.gv files. It can output graphs in a variety of formats.
Various people have written Perl wrappers around Graphviz:
Léon Brocard
Leon chose to use an upper-case V in the name of his package.
GraphViz was written quite some time ago, and targeted at a now-old version of Graphviz, and also hard-coded various features.
This module is now maintained by Ron Savage, but is deprecated in favour of GraphViz2 (below).
For this module, Tels invented the Graph::Easylanguage, making it simpler to create the text file input to dot, etc, by offering a nicer and simpler syntax.
This module is now deprecated in favour of Graph::Easy::Marpa (below).
Ron Savage
This is my re-write from scratch of Léon's GraphViz. It uses Marpa::R2by Jeffrey Kegler.
This is my re-write from scratch of Tels' Graph::Easy. It also uses Marpa::R2.
This module parses Graphviz DOT files.
This module is a sub-class of GraphViz2::Marpa.
It provides a small set of path analysis tools, after lexing and parsing *.gv files.
These tools are:
(a) Finding clusters
Here, a cluster is a set of nodes connected to each other, but not connected to any nodes outside the cluster.
(b) Finding all paths of a fixed length starting from a given node
This module uses Marpa to parse a grammar, and then creates a tree to hold that grammar.
This module uses the previous one to parse a grammar, and then turns that grammar into an image.
        You can redistribute all my programs, and/or modify them, under the terms of
        The Artistic License 2.0, a copy of which is available via:
Privacy Policy
"Copyright: © 1998 to 2014 Ron Savage"
Email address
Last updated: Mon, 19-May-2014
You can donate to me via GitTip