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

Mindmap graphs not working #69

Closed
chorca opened this issue Nov 9, 2022 · 2 comments · Fixed by #73
Closed

Mindmap graphs not working #69

chorca opened this issue Nov 9, 2022 · 2 comments · Fixed by #73
Labels
bug Something isn't working

Comments

@chorca
Copy link

chorca commented Nov 9, 2022

Describe the bug
Using Mindmaps does not appear to be working.
Copying and pasting the example from https://mermaid-js.github.io/mermaid/#/mindmap gives

[DigagramParseError]
undefined

in the output pane, and no graph is generated, instead a Mermaid error message "Syntax error in graph" is shown in the preview pane.

This same graph works properly at the Mermaid Live editor at https://mermaid.live/

To Reproduce

  1. Open a new .mmd file
  2. Paste in the example text from https://mermaid-js.github.io/mermaid/#/mindmap
  3. Save file
  4. See error

Expected behavior
Graph is displayed properly as at https://mermaid.live/

Screenshots
image

Desktop:

  • OS: Ubuntu 20.04.5
  • VSCode 1.73.0
  • Extension tomoyukim.vscode-mermaid-editor@0.17.1
@chorca chorca added the bug Something isn't working label Nov 9, 2022
@tomoyukim
Copy link
Owner

Thank you for your report! It seems this is an experimental feature and has not been included in mermaid.js itself so far. Let me consider how to support future updates including the mindmap from the mermaid.js project.

@KajiTetsushi
Copy link
Contributor

@tomoyukim Could it be that mermaid is starting to get out of date? The Mermaid releases say that the mindmap syntax is available starting from v9.3.0. The current stable is, in fact, already in v10.0.0, which ships with syntaxes for even more kinds of diagrams, which I'm definitely interested to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants