.. include:: ../Includes.txt
.. _entityRelationshipDiagram:
===========================
Entity Relationship Diagram
===========================
.. graphviz::
digraph sav_charts {
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_savcharts_domain_model_database" [
label =
<
tx_savcharts_domain_model_database |
uid |
pid |
tstamp |
crdate |
cruser_id |
sorting |
deleted |
hidden |
title |
driver |
tables |
host |
port |
socket |
name |
username |
userpassword |
persistent |
>
shape = "none"
];
"tx_savcharts_domain_model_query" [
label =
<
tx_savcharts_domain_model_query |
uid |
pid |
tstamp |
crdate |
cruser_id |
sorting |
deleted |
hidden |
title |
database_id |
select_clause |
from_clause |
where_clause |
groupby_clause |
orderby_clause |
limit_clause |
>
shape = "none"
];
tx_savcharts_domain_model_database:uid -> tx_savcharts_domain_model_query:database_id [dir="both", arrowhead="crowodot", arrowtail="noneteeodot", color="darkblue"];
}
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``.