Replies: 1 comment
-
|
In the current Docusaurus Mermaid theme source, the theme checks whether So the missing piece should be: npm install @mermaid-js/layout-elkThen keep your Mermaid option: themeConfig: {
mermaid: {
options: {
layout: 'elk',
},
},
}If you are on a Docusaurus version before that optional ELK registration landed, upgrade Docusaurus as well. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I would like to use "ELK" layout instead of default "dagre". So I changed the
options.layoutto"elk"but it is not working.I can confirm other options like
maxTextSizeis working well.Beta Was this translation helpful? Give feedback.
All reactions