Mermaid: Difference between revisions
add 2 more examples |
No edit summary |
||
| Line 139: | Line 139: | ||
"Cats" : 85 | "Cats" : 85 | ||
"Rats" : 15 | "Rats" : 15 | ||
}} | |||
= Entity Relationship Diagram = | |||
{{#mermaid:erDiagram | |||
CUSTOMER }|..|{ DELIVERY-ADDRESS : has | |||
CUSTOMER ||--o{ ORDER : places | |||
CUSTOMER ||--o{ INVOICE : "liable for" | |||
DELIVERY-ADDRESS ||--o{ ORDER : receives | |||
INVOICE ||--|{ ORDER : covers | |||
ORDER ||--|{ ORDER-ITEM : includes | |||
PRODUCT-CATEGORY ||--|{ PRODUCT : contains | |||
PRODUCT ||--o{ ORDER-ITEM : "ordered in" | |||
}} | }} | ||