Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Mermaid version used in Draw.io #4307

Open
2 tasks done
pktiuk opened this issue Apr 2, 2024 · 0 comments
Open
2 tasks done

Update Mermaid version used in Draw.io #4307

pktiuk opened this issue Apr 2, 2024 · 0 comments

Comments

@pktiuk
Copy link

pktiuk commented Apr 2, 2024

Is your feature request related to a problem? Please describe.

Currently used version od Mermaid in the Drawio does not support some of the features it provides.
For example aliases for names in ER diagrams: https://mermaid.js.org/syntax/entityRelationshipDiagram.html#entity-name-aliases-v10-5-0

Describe the solution you'd like
Update mermaid version to the latest one. (Current one is pretty old).

Describe alternatives you've considered

Additional context

Reproduction:

Paste mermaid diagram:

erDiagram

%%ENTITIES

loc[LOCATION] {
float lat
float lon
float alt
}

and it does not work:

Parse error on line 4:
erDiagramloc[LOCATION] {float t
------------^
Expecting 'EOF', 'SPACE', 'NEWLINE', ':', 'BLOCK_START', 'title', 'acc_title', 'acc_descr', 'acc_descr_multiline_value', 'ALPHANUM', 'ENTITY_NAME', 'ZERO_OR_ONE', 'ZERO_OR_MORE', 'ONE_OR_MORE', 'ONLY_ONE', 'MD_PARENT', 'open_directive', got '['

When this diagram is simplified everything works:

erDiagram

%%ENTITIES

LOCATION {
float lat
float lon
float alt
}
@davidjgraph davidjgraph added this to Triage in drawio via automation Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
drawio
  
Triage
Development

No branches or pull requests

2 participants