SVG files created by Mermaid are displayed incorrectly
Summary:
An SVG exported by Mermaid live editor displays correctly in the browser, but using Inkscapes it's displayed all wrong.
Steps to reproduce:
I am using the Mermaid live editor (https://mermaid.live/) to export the SVG of a simple git graph (used code)
gitGraph
commit
commit
branch feature
commit
checkout main
merge feature
This allowed my to download the following SVG file
, which is rendered in the browser such as:
However, when importing from Inkscape, all I see is
Something is clearly going wrong on the import, but I have no clue what.
What should have happened?
SVG should be imported correctly.
Version info
Inkscape 1.2.1 (9c6d41e410, 2022-07-14)
GLib version: 2.72.2
GTK version: 3.24.34
glibmm version: 2.66.4
gtkmm version: 3.24.6
libxml2 version: 2.9.14
libxslt version: 1.1.35
Cairo version: 1.17.6
Pango version: 1.50.7
HarfBuzz version: 4.4.1
OS version: Windows 10 20H2