Graph::Easy::Marpa::Renderer::GraphViz2 - This is the default rendering engine for Graph::Easy::Marpa
See "Synopsis" in Graph::Easy::Marpa.
Graph::Easy::Marpa::Renderer provides a GraphViz2-based renderer for Graph::Easy-style graph definitions.
This module is the default rendering engine for Graph::Easy::Marpa.
Install Graph::Easy::Marpa as you would for any Perl module:
Perl
Run:
cpanm Graph::Easy::Marpa
or run:
sudo cpan Graph::Easy::Marpa
or unpack the distro, and then either:
perl Build.PL ./Build ./Build test sudo ./Build install
or:
perl Makefile.PL make (or dmake or nmake) make test make install
new() is called as my($parser) = Graph::Easy::Marpa::Renderer::GraphViz2 -> new(k1 => v1, k2 => v2, ...).
new()
my($parser) = Graph::Easy::Marpa::Renderer::GraphViz2 -> new(k1 => v1, k2 => v2, ...)
It returns a new object of type Graph::Easy::Marpa::Renderer::GraphViz2.
Graph::Easy::Marpa::Renderer::GraphViz2
Key-value pairs accepted in the parameter list (see corresponding methods for details [e.g. maxlevel()]):
Renders a set of items as an image, using GraphViz2.
Keys and values in %arg are:
The format (e.g. 'svg') to pass to the rendering engine.
This arrayref, passed from Graph::Easy::Marpa::Parser is the result of lexing and parsing the Graph::Easy-style graph definition (raw) file.
Each element of this arrayref is a hashref with these key-value pairs:
This is where the output of 'dot' will be written.
The file CHANGES was converted into Changelog.ini by Module::Metadata::Changes.
Version numbers < 1.00 represent development versions. From 1.00 up, they are production versions.
Email the author, or log a bug on RT:
https://rt.cpan.org/Public/Dist/Display.html?Name=Graph::Easy::Marpa.
Graph::Easy::Marpa was written by Ron Savage <ron@savage.net.au> in 2011.
Home page: http://savage.net.au/index.html.
Australian copyright (c) 2011, Ron Savage.
All Programs of mine are 'OSI Certified Open Source Software'; you can redistribute them and/or modify them under the terms of The Artistic License, a copy of which is available at: http://www.opensource.org/licenses/index.html
To install Graph::Easy::Marpa, copy and paste the appropriate command in to your terminal.
cpanm
CPAN shell
perl -MCPAN -e shell install Graph::Easy::Marpa
For more information on module installation, please visit the detailed CPAN module installation guide.