Bug report
Hello, I was having some issues when creating a mermaid ER Diagram with attributes. Tried the example directly from mermaid js here (https://mermaid-js.github.io/mermaid/#/entityRelationshipDiagram) but was getting render issues. The example I’m using is in the reproducible steps section. It appears there’s a null error being thrown in the console.
Info
- Platform: Windows
- Platform version: 10
- App Version: 5.2.1
- Plugin Version: 2.2.0
Plugins Installed
- accent-color
- admonition
- code-fold
- insert-date
- markdown-emoji
- math
- plantuml
- prettier
- spell-checker
- vim
- export-as-html
- export-as-markdown
- export-print
- import-markdown
- import-html
- img-small
Reproduce
- Install Official Mermaid Plugin
- Paste the following code into a document
erDiagram
CUSTOMER ||--o{ ORDER : places
CUSTOMER {
string name
string custNumber
string sector
}
ORDER ||--|{ LINE-ITEM : contains
ORDER {
int orderNumber
string deliveryAddress
}
LINE-ITEM {
string productCode
int quantity
float pricePerUnit
}
produces:
MERMAID: render error null <embedded>:50213