App::Basis::ConvertText2::Plugin::Uml
my $content = "' this is a comment on one line /' this is a multi-line comment'/ Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response " ; my $params = {} ; my $obj = App::Basis::ConvertText2::Plugin::Uml->new() ; my $out = $obj->process( 'uml', $content, $params) ;
convert a uml text string into a PNG, requires uml program and plantuml from https://github.com/27escape/bin/blob/master/uml and http://plantuml.sourceforge.net
create a simple uml image
parameters data - uml text filename - filename to save the created image as hashref params of size - size of image, widthxheight - optional
1 POD Error
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
=over without closing =back
To install App::Basis::ConvertText2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Basis::ConvertText2
CPAN shell
perl -MCPAN -e shell install App::Basis::ConvertText2
For more information on module installation, please visit the detailed CPAN module installation guide.