Several Mermaid rendering bugs

The screenshots show how the attached test page mermaid graph is rendered in obsidian 1.5.12 restricted mode, and on www.mermaidchart.com.

The Obsidian problems are:

  1. bottom subgraph title is overwritten by blocks
  2. blocks outside of the sublocks have nearly invisible boundaries
  3. the graph is clipped on the right side.

I’ve attached the markdown for the test page.

Obsidian

www.mermaidchart.com


tmp_mermaid_bugs.md (985 Bytes)

1 Like

This renders perfectly allright for me:

I use this snippet:

.mermaid svg { 
  max-width: 100%; 
  width: 100%; 
  height: auto;
}