debian man page for graph::writer::graphviz

Query: graph::writer::graphviz

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Graph::Writer::GraphViz(3pm)				User Contributed Perl Documentation			      Graph::Writer::GraphViz(3pm)

NAME
Graph::Writer::GraphViz - GraphViz Writer for Graph object
SYNOPSIS
my @v = qw/Alice Bob Crude Dr/; my $g = Graph->new(@v); my $wr = Graph::Writer::GraphViz->new(-format => 'dot'); $wr->write_graph($g,'/tmp/graph.simple.dot'); my $wr_png = Graph::Writer::GraphViz->new(-format => 'png'); $wr_png->write_graph($g,'/tmp/graph.simple.png'); Graph::Writer::GraphViz->new( -format => 'png', -layout => 'twopi', -ranksep => 1.5, -fontsize => 8 -edge_color => 'grey', -node_color => 'black', )->write_graph($g,'/tmp/graph.png');
DESCRIPTION
Graph::Writer::GraphViz is a class for writing out a Graph object with GraphViz module. All GraphViz formats should be supported without a problem.
METHODS
new() Unlike other Graph::Writer modules, this module provide an extra parameter '-format' to new() method, in order to save different format. Other supported GraphViz parameters are -layout, -ranksep, -shape, -fontsize, -arrowsize. Please see the SYNOPSIS for example usage. Valid format depends on those GraphViz as_fmt methods on your system, like, 'gif' if you have 'as_gif', 'text' if you can do 'as_text'.
SEE ALSO
Graph, Graph::Writer, GraphViz
CREDITS
Thanks for RURBAN@cpan.org for noticing tests failure on different platforms.
COPYRIGHT
Copyright 2004 by Kang-min Liu <gugod@gugod.org>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See <http://www.perl.com/perl/misc/Artistic.html> perl v5.12.4 2011-10-16 Graph::Writer::GraphViz(3pm)
Related Man Pages
bio::phylonetwork::graphviz(3pm) - debian
graph::easy::layout::grid(3pm) - debian
graph::reader(3pm) - debian
graph::reader::xml(3pm) - debian
graphviz::xml(3pm) - debian
Similar Topics in the Unix Linux Community
Python Web Graph Generator 2.70 (Default branch)
Four layout extensions for OpenOffice.org Writer
Graph generation
Perl with Excel Graph
Monitoring Graphs using GNUPLOT