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 #532

Open
JohnXLivingston opened this issue Mar 16, 2022 · 2 comments
Open

Update Mermaid version #532

JohnXLivingston opened this issue Mar 16, 2022 · 2 comments

Comments

@JohnXLivingston
Copy link

Hello,

I'm trying to use mermaid direction option in subgraphs.
https://mermaid-js.github.io/mermaid/#/./flowchart?id=direction-in-subgraphs
It seems it is not working. I think this is because the mermaid version is not up-to-date (I did not find which version is used).

Is it possible to update the mermaid version used?

Thanks.

@McShelby
Copy link

Directions in subgraphs are a difficult topic as they sometime behave weirdly when there are pointer between subgraphs involved.

So at first try to check with the mermaid online editor, if your graph looks as it should. If afterwards, the same graph looks different on your site, you have some options:

a) use Mermaid from a CDN (see customMermaidURL config option) or copy a newer version into your own static/js directory
b) wait (probably infidently) until Mermaid is updated with this theme
c) use my fork

@JohnXLivingston
Copy link
Author

Thanks for your reply @McShelby

maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this issue Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants