App-PrereqGrapher
view release on metacpan or search on metacpan
lib/App/PrereqGrapher.pm view on Meta::CPAN
=head2 new
The constructor understands the following options:
=over 4
=item format
Select the output format, which must be one of: dot, svg, vcg, gml, or html.
See L</"OUTPUT FORMATS"> for more about the supported output formats.
If not specified, the default format is 'dot'.
=item output_file
Specifies the name of the file to write the dependency graph into,
including the extension. If not specified, the filename will be C<dependencies>,
with the extension set according to the format.
=item depth
lib/App/PrereqGrapher.pm view on Meta::CPAN
with the given name, it will try and interpret it as a file path.
This means that if you have a file called C<strict> for example, then you won't be
able to run:
$grapher->generate_graph('strict');
as it will be interpreted as the module of that name. Put an explicit path to stop this:
$grapher->generate_graph('./strict');
=head1 OUTPUT FORMATS
=over 4
=item dot
The format used by GraphViz and related tools.
=item svg
Scalable Vector Graphics (SVG) a W3C standard.
( run in 0.241 second using v1.01-cache-2.11-cpan-4e96b696675 )