mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-05 23:29:37 +02:00
feat(er): use square brackets to add aliases
This commit is contained in:
@@ -112,12 +112,12 @@
|
||||
|
||||
<pre class="mermaid">
|
||||
erDiagram
|
||||
p as Person {
|
||||
string firstName
|
||||
string lastName
|
||||
p[Person] {
|
||||
string firstName
|
||||
string lastName
|
||||
}
|
||||
a as "Customer Account" {
|
||||
string email
|
||||
a["Customer Account"] {
|
||||
string email
|
||||
}
|
||||
p ||--o| a : has
|
||||
</pre>
|
||||
|
Reference in New Issue
Block a user