Catalyst::Helper::View::GraphViz - Helper for GraphViz Views


Catalyst-View-GraphViz documentation Contained in the Catalyst-View-GraphViz distribution.

Index


Code Index:

NAME

Top

Catalyst::Helper::View::GraphViz - Helper for GraphViz Views

SYNOPSIS

Top

    script/create.pl view GraphViz GraphViz

DESCRIPTION

Top

Helper for GraphViz Views.

METHODS

mk_compclass

SEE ALSO

Top

Catalyst::Manual, Catalyst::Test, Catalyst::Request, Catalyst::Response, Catalyst::Helper

AUTHOR

Top

Johan Lindstrom, johanl@cpan.org

LICENSE

Top

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.

NAME

Top

[% class %] - Catalyst GraphViz View

SYNOPSIS

Top

See [% app %]

DESCRIPTION

Top

Catalyst GraphViz View.

AUTHOR

Top

[% author %]

LICENSE

Top

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.


Catalyst-View-GraphViz documentation Contained in the Catalyst-View-GraphViz distribution.
package Catalyst::Helper::View::GraphViz;

use strict;

sub mk_compclass {
    my ( $self, $helper ) = @_;
    my $file = $helper->{file};
    $helper->render_file( 'compclass', $file );
}

1;

__DATA__

__compclass__
package [% class %];

use strict;
use base 'Catalyst::View::GraphViz';

1;