| Entity (table) |
A parent node with kind=Entity |
customer |
| Attribute (column) |
A child node with kind=Column and type= |
customer-email |
| Primary key |
A child node with kind=PrimaryKey |
orders-id |
| Foreign key |
A child node with kind=ForeignKey |
orders-customer-id |
| Composite attribute |
Child nodes nested under the attribute |
none |
| Nullable attribute |
nullable=true |
category-parent-id |
| Derived attribute |
derived=true dashed=true |
orders-total |
| Multivalued attribute |
multivalued=true |
none |
| Weak entity |
kind=WeakEntity |
none |
| Associative entity |
kind=AssociativeEntity with two identifying edges |
order-item |
| Relationship |
An edge from the foreign-key column to the referenced key column |
r2 |
| Cardinality and optionality |
source_end= and target_end= on the edge |
r4 |
| Identifying relationship |
A solid edge |
r4 |
| Non-identifying relationship |
dashed=true |
r2 |
| Self-reference |
An edge between two columns of one table |
r8 |
| Supertype and subtype |
Subtype edges meet at a node_look=point node, and that node has an edge with target_end=triangle to the supertype |
r11, r12, r13 |
| Disjoint or complete subtypes |
disjoint= and complete= on the point node |
product-subtype |
| N-ary relationship |
An associative entity with one edge for each participant |
none |