g2m.pl - Run GraphViz2::Marpa.
g2m.pl [options]
Options: -description graphDescription -help -input_file aDotInputFileName -maxlevel logOption1 -minlevel logOption2 -output_file aRenderedDotInputFileName -renderer aGraphViz2::Marpa::Renderer::GraphViz2-compatible object -trace_terminals anInteger
Exit value: 0 for success, 1 for failure. Die upon error.
Read the DOT-style graph definition from the command line.
You are strongly encouraged to surround this string with '...' to protect it from your shell.
See also the -input_file option to read the description from a file.
The -description option takes precedence over the -input_file option.
Default: ''.
Print help and exit.
Read the DOT-style graph definition from a file.
See also the -description option to read the graph definition from the command line.
See the distro for data/*.gv.
This option affects Log::Handler.
See the Log::handler docs.
Default: 'notice'.
Default: 'error'.
No lower levels are used.
Specify the name of a file for the renderer to write.
That is, write the DOT-style graph definition to a file.
When this file and the input file are both run thru 'dot', they should produce identical *.svg files.
If an output file name is specified, an object of type GraphViz2::Marpa::Renderer::GraphViz2 is created and called after the input file has been successfully parsed.
The default means the file is not written.
Specify a renderer for the parser to use.
See also output_file just above.
output_file
If an output file is specified, then an object of type GraphViz2::Marpa::Renderer::GraphViz2 is created and its run() method is called.
run()
See the trace level in Marpa::R2::Scanless::R.
Typical values: 0, 1, 99.
Default: 0 (No tracing).
To install GraphViz2::Marpa, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GraphViz2::Marpa
CPAN shell
perl -MCPAN -e shell install GraphViz2::Marpa
For more information on module installation, please visit the detailed CPAN module installation guide.