1SQL::Translator::ProducUesre:r:DCioanUtmrli(b3u)ted PerlSQDLo:c:uTmreanntsaltaitoonr::Producer::DiaUml(3)
2
3
4

NAME

6       SQL::Translator::Producer::DiaUml -
7           Produces dia UML diagrams from schema.
8

SYNOPSIS

10         use SQL::Translator;
11         my $translator     = SQL::Translator->new(
12             from           => 'MySQL',
13             filename       => 'foo_schema.sql',
14             to             => 'DiaUml',
15         );
16         print $translator->translate;
17

DESCRIPTION

19       Currently you will get one class (with the a table stereotype)
20       generated per table in the schema. The fields are added as attributes
21       of the classes and their datatypes set. It doesn't currently set any of
22       the relationships. It doesn't do any layout, all the classses are in
23       one big stack. However it is still useful as you can use the layout
24       tools in Dia to automatically arrange them horizontally or vertically.
25
26   Producer Args

AUTHOR

28       Mark Addison <grommit@users.sourceforge.net>.
29

TODO

31       * Add the foriegn keys from the schema as UML relations.
32
33       * Layout the classes.
34

SEE ALSO

36       SQL::Translator.
37
38
39
40perl v5.12.0                      2009-08-1S8QL::Translator::Producer::DiaUml(3)
Impressum