Describe the bug
graph with subgraph does fail to render with error 'Cannot set properties of undefined (setting 'rank')'
Samples to Reproduce
graph TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[fa:fa-car Car]
subgraph subg
AA
BB
end
A-->subg
Expected behavior
Render successfully in the slide similar to the rendering in obsidian
Solution
this is a mermai-js issue that is fixed in the version 9.3.0. obsidian advanced slides need to use 1.1.0 of reveal.js-mermaid-plugin to pickup this fix.
Describe the bug graph with subgraph does fail to render with error 'Cannot set properties of undefined (setting 'rank')'
Samples to Reproduce
Expected behavior Render successfully in the slide similar to the rendering in obsidian
Solution this is a mermai-js issue that is fixed in the version 9.3.0. obsidian advanced slides need to use 1.1.0 of reveal.js-mermaid-plugin to pickup this fix.