mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-05 21:34:14 +01: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>
|
<body>
|
||||||
<pre class="mermaid">
|
<pre class="mermaid">
|
||||||
erDiagram
|
erDiagram
|
||||||
|
title This is a title
|
||||||
|
accDescription Test a description
|
||||||
|
|
||||||
CUSTOMER ||--o{ ORDER : places
|
CUSTOMER ||--o{ ORDER : places
|
||||||
ORDER ||--|{ LINE-ITEM : contains
|
ORDER ||--|{ LINE-ITEM : contains
|
||||||
ORDER }|..|{ DELIVERY-ADDRESS : uses
|
CUSTOMER }|..|{ 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
|
|
||||||
}
|
|
||||||
|
|
||||||
DELIVERY-ADDRESS {
|
DELIVERY-ADDRESS {
|
||||||
int customerId
|
int customerId
|
||||||
|
|||||||
Reference in New Issue
Block a user