mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 00:40:22 +02:00
a few more wee changes to the ER demo
This commit is contained in:

parent
5daa130857
commit
ddc35fa9ce
@@ -19,13 +19,13 @@ erDiagram
|
|||||||
%% title This is a title
|
%% title This is a title
|
||||||
%% accDescription Test a description
|
%% accDescription Test a description
|
||||||
|
|
||||||
"Person.CUSTOMER"||--o{ ORDER : places
|
"Person . CUSTOMER"||--o{ ORDER : places
|
||||||
|
|
||||||
ORDER ||--|{ LINE-ITEM : contains
|
ORDER ||--|{ "€£LINE_ITEM ¥" : contains
|
||||||
|
|
||||||
"Person.CUSTOMER" }|..|{ "Address/StreetAddress::[DELIVERY-ADDRESS]" : uses
|
"Person . CUSTOMER" }|..|{ "Address//StreetAddress::[DELIVERY ADDRESS]" : uses
|
||||||
|
|
||||||
"Address/StreetAddress::[DELIVERY-ADDRESS]" {
|
"Address//StreetAddress::[DELIVERY ADDRESS]" {
|
||||||
int customerID FK
|
int customerID FK
|
||||||
string line1 "this is the first address line comment"
|
string line1 "this is the first address line comment"
|
||||||
string line2
|
string line2
|
||||||
@@ -39,6 +39,15 @@ erDiagram
|
|||||||
"a_~`!@#$^&*()-_=+[]{}|/;:'.?¡⁄™€£‹¢›∞fi§‡•°ª·º‚≠±œŒ∑„®†ˇ¥Á¨ˆˆØπ∏“«»åÅßÍ∂΃ϩ˙Ó∆Ô˚¬Ò…ÚæÆΩ¸≈π˛çÇ√◊∫ı˜µÂ≤¯≥˘÷¿" {
|
"a_~`!@#$^&*()-_=+[]{}|/;:'.?¡⁄™€£‹¢›∞fi§‡•°ª·º‚≠±œŒ∑„®†ˇ¥Á¨ˆˆØπ∏“«»åÅßÍ∂΃ϩ˙Ó∆Ô˚¬Ò…ÚæÆΩ¸≈π˛çÇ√◊∫ı˜µÂ≤¯≥˘÷¿" {
|
||||||
string name "this is an entity with an absurd name just to show characters that are now acceptable as long as the name is in double quotes"
|
string name "this is an entity with an absurd name just to show characters that are now acceptable as long as the name is in double quotes"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"€£LINE_ITEM ¥" {
|
||||||
|
int orderID FK
|
||||||
|
int currencyId FK
|
||||||
|
number price
|
||||||
|
number quantity
|
||||||
|
number adjustment
|
||||||
|
number final_price
|
||||||
|
}
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
|
Reference in New Issue
Block a user