The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

    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

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

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

AUTHOR

Simon Cozens, <simon@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2004 by Simon Cozens

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