mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
demos er.html add title, accDescription back in; simplify nearly to before
This commit is contained in:
parent
6f86047a8e
commit
84dfc8ee4b
@ -16,29 +16,12 @@
|
||||
<body>
|
||||
<pre class="mermaid">
|
||||
erDiagram
|
||||
title This is a title
|
||||
accDescription Test a description
|
||||
|
||||
CUSTOMER ||--o{ ORDER : places
|
||||
ORDER ||--|{ LINE-ITEM : contains
|
||||
ORDER }|..|{ DELIVERY-ADDRESS : uses
|
||||
DELIVERY-ADDRESS }|--|| CUSTOMER : has
|
||||
|
||||
CUSTOMER ||--o{ ORDER : places
|
||||
CUSTOMER {
|
||||
string name
|
||||
string region
|
||||
string custNumber
|
||||
string sector
|
||||
}
|
||||
ORDER ||--|{ LINE-ITEM : contains
|
||||
ORDER {
|
||||
int orderNumber
|
||||
string deliveryAddress
|
||||
}
|
||||
LINE-ITEM {
|
||||
string productCode
|
||||
int quantity
|
||||
float pricePerUnit
|
||||
}
|
||||
CUSTOMER }|..|{ DELIVERY-ADDRESS : uses
|
||||
|
||||
DELIVERY-ADDRESS {
|
||||
int customerId
|
||||
|
Loading…
x
Reference in New Issue
Block a user