mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Initial documentation for ER diagrams
This commit is contained in:
parent
a3b97f7c24
commit
3e76b2374c
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
|
Loading…
x
Reference in New Issue
Block a user