PBS::GraphViz 0.35 review

by rbytes.net on

License: Perl Artistic License
File size: 338K
Developer: Leon Brocard
0 stars award from rbytes.net

GraphViz is a Perl interface to the GraphViz graphing tool.


use GraphViz;

my $g = GraphViz->new();

$g->add_node('Paris', label => 'City ofnlurve');
$g->add_node('New York');

$g->add_edge('London' => 'Paris');
$g->add_edge('London' => 'New York', label => 'Far');
$g->add_edge('Paris' => 'London');

print $g->as_png;

This module provides an interface to layout and image generation of directed and undirected graphs in a variety of formats (PostScript, PNG, etc.) using the "dot", "neato", "twopi", "circo" and "fdp" programs from the GraphViz project (http://www.graphviz.org/ or http://www.research.att.com/sw/tools/graphviz/).


PBS::GraphViz 0.35 keywords