.. include:: ../Includes.txt
.. _entityRelationshipDiagram:
===========================
Entity Relationship Diagram
===========================
.. graphviz::
digraph sav_librarymvc_example0 {
fontname="Helvetica,Arial,sans-serif"
node [fontname="Helvetica,Arial,sans-serif"]
edge [fontname="Helvetica,Arial,sans-serif"]
graph [
rankdir = "LR"
];
node [
fontsize = "16"
];
edge [
];
"tx_savlibrarymvcexample0_domain_model_table1" [
label =
<
tx_savlibrarymvcexample0_domain_model_table1 |
uid |
pid |
tstamp |
crdate |
cruser_id |
deleted |
hidden |
field2 |
field1 |
field8 |
field9 |
field4 |
field5 |
field10 |
field7 |
field6 |
field12 |
field13 |
field14 |
field15 |
field16 |
field17 |
field18 |
field19 |
field20 |
field3 |
field11 |
field21 |
field23 |
field24 |
>
shape = "none"
];
tx_savlibrarymvcexample0_domain_model_table1:field18 -> tx_savlibrarymvcexample0_domain_model_table2:table [dir="both", arrowhead="crowodot", arrowtail="crowodot", label="tx_savlibrarymvcexample0_table1_field18_mm", fontcolor="darkred", color="darkred"];
tx_savlibrarymvcexample0_domain_model_table1:field19 -> tx_savlibrarymvcexample0_domain_model_table3:table [dir="both", arrowhead="crowodot", arrowtail="crowodot", label="tx_savlibrarymvcexample0_table1_field19_mm", fontcolor="darkred", color="darkred"];
tx_savlibrarymvcexample0_domain_model_table1:field20 -> tx_savlibrarymvcexample0_domain_model_table4:table [dir="both", arrowhead="crowodot", arrowtail="crowodot", label="tx_savlibrarymvcexample0_table1_field20_mm", fontcolor="darkred", color="darkred"];
tx_savlibrarymvcexample0_domain_model_table1:field23 -> tx_savlibrarymvcexample0_domain_model_table5:table [dir="both", arrowhead="crowodot", arrowtail="crowodot", label="tx_savlibrarymvcexample0_table1_field23_mm", fontcolor="darkred", color="darkred"];
tx_savlibrarymvcexample0_domain_model_table2:uid -> tx_savlibrarymvcexample0_domain_model_table1:field7 [dir="both", arrowhead="crowodot", arrowtail="noneteeodot", color="darkblue"];
"tx_savlibrarymvcexample0_domain_model_table2" [
label =
<
tx_savlibrarymvcexample0_domain_model_table2 |
uid |
pid |
tstamp |
crdate |
cruser_id |
deleted |
hidden |
field1 |
>
shape = "none"
];
"tx_savlibrarymvcexample0_domain_model_table3" [
label =
<
tx_savlibrarymvcexample0_domain_model_table3 |
uid |
pid |
tstamp |
crdate |
cruser_id |
deleted |
hidden |
field1 |
field2 |
>
shape = "none"
];
"tx_savlibrarymvcexample0_domain_model_table4" [
label =
<
tx_savlibrarymvcexample0_domain_model_table4 |
uid |
pid |
tstamp |
crdate |
cruser_id |
deleted |
hidden |
field1 |
>
shape = "none"
];
"tx_savlibrarymvcexample0_domain_model_table5" [
label =
<
tx_savlibrarymvcexample0_domain_model_table5 |
uid |
pid |
tstamp |
crdate |
cruser_id |
deleted |
hidden |
field1 |
field2 |
>
shape = "none"
];
tx_savlibrarymvcexample0_domain_model_table5:field2 -> tx_savlibrarymvcexample0_domain_model_table6:table [dir="both", arrowhead="crowodot", arrowtail="crowodot", label="tx_savlibrarymvcexample0_table5_field2_mm", fontcolor="darkred", color="darkred"];
"tx_savlibrarymvcexample0_domain_model_table6" [
label =
<
tx_savlibrarymvcexample0_domain_model_table6 |
uid |
pid |
tstamp |
crdate |
cruser_id |
deleted |
hidden |
field1 |
field2 |
>
shape = "none"
];
}
The Entity Relationship Diagram is generated by the `SAV Library Kickstarter
`_ in `Graphviz `_ DOT language.
- New tables with their fields are represented with a Black border.
- Existing tables are represented with a Dark green border. Only existing fields
``uid`` and ``pid`` are shown. If new fields are created, they are shown
in Light blue.
- 1-n relations are in Dark blue.
- n-n relationships are in Dark red with the name of the associated ``mm table``.