hugo-theme-learn
hugo-theme-learn copied to clipboard
Update Mermaid version
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.
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
Thanks for your reply @McShelby