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.
It provides one method in Class::DBI::Loader
, graph_tables
which
returns a graphviz object.
the Class::DBI::Loader manpage, the GraphViz::DBI manpage.
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.
Class::DBI::Loader::GraphViz - Graph tables and relationships |