Class::DBI::Loader::GraphViz - Graph tables and relationships


Class-DBI-Loader-GraphViz documentation  | view source Contained in the Class-DBI-Loader-GraphViz distribution.

Index


NAME

Top

Class::DBI::Loader::GraphViz - Graph tables and relationships

SYNOPSIS

Top

    my $loader = Class::DBI::Loader->new(
        namespace => "BeerDB",
        dsn => "dbi:SQLite:dbname=t/test.db");
    BeerDB::Beer->has_a(brewery => "BeerDB::Brewery");
    # ...

    my GraphViz $g = $loader->graph_tables;
    my $dot = $g->as_dot;

DESCRIPTION

Top

This module bridges Class::DBI::Loader and GraphViz::DBI, to allow GraphViz::DBI to know about Class::DBI's has_a relationships.

It provides one method in Class::DBI::Loader, graph_tables which returns a graphviz object.

SEE ALSO

Top

Class::DBI::Loader, GraphViz::DBI.

AUTHOR

Top

Simon Cozens, <simon@cpan.org>

COPYRIGHT AND LICENSE

Top


Class-DBI-Loader-GraphViz documentation  | view source Contained in the Class-DBI-Loader-GraphViz distribution.