Meta::Grapher::Moose::Renderer::Plantuml - Render a Meta::Grapher::Moose as a graph using PlantUML
version 1.03
Meta::Grapher::Moose->new( renderer => Meta::Grapher::Moose::Renderer::Plantuml->new(), ... );
This is one of the standard renderers that ships as part of the Meta-Grapher-Moose distribution.
It uses the PlantUML Java distribution to create graphs.
This class accepts the following attributes:
The command to run the Java binary.
This defaults to 'java', so it'll use whatever Java is in the path.
The full path to the plantuml.jar jar file.
plantuml.jar
This defaults to plantuml.jar, meaning that it'll look for that jar in the current working directory.
The specific spot markup that you want to apply to your classes depending on what type your packages are. The default values are:
{ class => '', role => '<<R,#FF7700>>', prole => '<<P,orchid>>', }
More documentation on specific spot markup can be found in the "Specific Spot" section of http://plantuml.com/classes.html.
In order for PDF generation to work you must have several extra JAR files in the same directory as plantuml.jar. See http://plantuml.com/pdf.html for more details.
Bugs may be submitted through the RT bug tracker (or bug-meta-grapher-moose@rt.cpan.org).
I am also usually active on IRC as 'drolsky' on irc://irc.perl.org.
irc://irc.perl.org
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2016 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Meta::Grapher::Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Meta::Grapher::Moose
CPAN shell
perl -MCPAN -e shell install Meta::Grapher::Moose
For more information on module installation, please visit the detailed CPAN module installation guide.