View on
MetaCPAN
Jess Robinson > SQL-Translator-0.08 > SQL::Translator::Producer::GraphViz

Download:
SQL-Translator-0.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  61
Open  25
View/Report Bugs
Module Version: 1.12   Source   Latest Release: SQL-Translator-0.11021_01

NAME ^

SQL::Translator::Producer::GraphViz - GraphViz producer for SQL::Translator

SYNOPSIS ^

  use SQL::Translator;

  my $trans = new SQL::Translator(
      from => 'MySQL',            # or your db of choice
      to => 'GraphViz',
      producer_args => {
          out_file => 'schema.png',
          add_color => 1,
          show_constraints => 1,
          show_datatypes => 1,
          show_col_sizes => 1
      }
  ) or die SQL::Translator->error;

  $trans->translate or die $trans->error;

DESCRIPTION ^

Creates a graph of a schema using the amazing graphviz (see http://www.graphviz.org/) application (via the GraphViz module). It's nifty--you should try it!

PRODUCER ARGS ^

AUTHOR ^

Ken Y. Clark <kclark@cpan.org>

SEE ALSO ^

SQL::Translator, GraphViz

syntax highlighting: