1SQL::Translator::ProducUesre:r:DCioanUtmrli(b3u)ted PerlSQDLo:c:uTmreanntsaltaitoonr::Producer::DiaUml(3)
2
3
4
6 SQL::Translator::Producer::DiaUml -
7 Produces dia UML diagrams from schema.
8
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
19 Currently you will get one class (with the a table stereotype) gener‐
20 ated per table in the schema. The fields are added as attributes of the
21 classes and their datatypes set. It doesn't currently set any of the
22 relationships. It doesn't do any layout, all the classses are in one
23 big stack. However it is still useful as you can use the layout tools
24 in Dia to automatically arrange them horizontally or vertically.
25
26 Producer Args
27
29 Mark Addison <grommit@users.sourceforge.net>.
30
32 * Add the foriegn keys from the schema as UML relations.
33
34 * Layout the classes.
35
37 SQL::Translator.
38
39
40
41perl v5.8.8 2007-10-2S4QL::Translator::Producer::DiaUml(3)