Class::DBI::Loader::GraphViz - Graph tables and relationships
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;
This module bridges Class::DBI::Loader and GraphViz::DBI, to allow GraphViz::DBI to know about Class::DBI's has_a relationships.
Class::DBI::Loader
GraphViz::DBI
Class::DBI
has_a
It provides one method in Class::DBI::Loader, graph_tables which returns a graphviz object.
graph_tables
Class::DBI::Loader, GraphViz::DBI.
Simon Cozens, <simon@cpan.org>
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.
To install Class::DBI::Loader::GraphViz, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::DBI::Loader::GraphViz
CPAN shell
perl -MCPAN -e shell install Class::DBI::Loader::GraphViz
For more information on module installation, please visit the detailed CPAN module installation guide.