mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-12 11:59:39 +02:00
Initial documentation for ER diagrams
This commit is contained in:
21
docs/entityRelationshipDiagram.md
Normal file
21
docs/entityRelationshipDiagram.md
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# Entity Relationship Diagrams
|
||||||
|
|
||||||
|
> An entity–relationship model (or ER model) describes interrelated things of interest in a specific domain of knowledge. A basic ER model is composed of entity types (which classify the things of interest) and specifies relationships that can exist between entities (instances of those entity types). Wikipedia.
|
||||||
|
|
||||||
|
Mermaid can render ER diagrams
|
||||||
|
```
|
||||||
|
erDiagram
|
||||||
|
CUSTOMER !-?< ORDER : places
|
||||||
|
ORDER !-!< LINE-ITEM : contains
|
||||||
|
```
|
||||||
|
```mermaid
|
||||||
|
erDiagram
|
||||||
|
CUSTOMER !-?< ORDER : places
|
||||||
|
ORDER !-!< LINE-ITEM : contains
|
||||||
|
```
|
||||||
|
|
||||||
|
## Syntax
|
||||||
|
|
||||||
|
### Entities and Relationships
|
||||||
|
|
||||||
|
To be completed
|
Reference in New Issue
Block a user