~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
digraph g {
graph [
    /* A4 */
    /*page="8.27,11.69",*/
    /*size="7.27,10.69!",*/
    fontsize=22,

    /* Don't let edges cross nodes */
    overlap="999:portho",
    splines=true,
    sep=0.05,

    /* Try to get a good layout */
    maxiter=50000,
    K=0.2,
    pack=true,
    packmode="node",
];
node [
    shape = plaintext,
    fontsize=8,
];
edge [
    fontsize=8,
    len=0.15
];
<TMPL_LOOP name="schemas">
    <TMPL_LOOP name="tables">
        <TMPL_UNLESS name="view_definition">
"<TMPL_IF name="number_of_schemas"><TMPL_VAR name="schema_dot">.</TMPL_IF name="number_of_schemas"><TMPL_VAR name="table_dot">" [shape = plaintext, label = <
<TABLE BGCOLOR="azure3" BORDER="1" ALIGN="LEFT" PORT="col1">
<TR BORDER="1"><TD BGCOLOR="white" COLSPAN="3" ALIGN="CENTER">\N</TD></TR>
<TMPL_LOOP name="columns">
    <TR BORDER="0" PORT="<TMPL_VAR name="column_dot">">
        <TD ALIGN="LEFT" BORDER="0"><TMPL_VAR name="column_dot"></TD>
        <TD ALIGN="LEFT" BORDER="0"><TMPL_VAR name="column_type"></TD>
        <TD ALIGN="LEFT" BORDER="0"><TMPL_LOOP name="column_constraints">
<TMPL_IF name="column_unique"> UNIQUE</TMPL_IF><TMPL_IF name="column_notnull"> NOT NULL</TMPL_IF><TMPL_IF name="column_primary_key"> PRIMARY KEY</TMPL_IF><TMPL_IF name="column_fk"> REFERENCES <TMPL_VAR name="column_fk_table"></TMPL_IF>
</TMPL_LOOP></TD>
    </TR>
</TMPL_LOOP name="columns"></TABLE>> ];
        </TMPL_UNLESS name="view_definition">
    </TMPL_LOOP name="tables">
</TMPL_LOOP name="schemas">

<TMPL_LOOP name="fk_links">
"<TMPL_IF name="number_of_schemas"><TMPL_VAR name="handle0_schema">.</TMPL_IF name="number_of_schemas"><TMPL_VAR name="handle0_name">" -> "<TMPL_IF name="number_of_schemas"><TMPL_VAR name="handle1_schema">.</TMPL_IF name="number_of_schemas"><TMPL_VAR name="handle1_name">" [label=""];</TMPL_LOOP name="fk_links">
}