Closed zsviczian closed 6 months ago
Hi @zsviczian 👋🏻 just back from time off, yes the sequence diagrams ordering was updated, I had already fixed the issue in mermaid js here and now it works absolutely fine, however, I am waiting for them to ship the next release, so I will either release it from fork if needed (in case the official release is delayed). So the above patch won't be needed.
This has been fixed in the latest version so closing
@ad1992, I use the mermaid object that comes with Obsidian. Obsidian upgraded to 10.6.1 which broke the sequence diagram parsing logic. I am sharing my solution here, so when you eventually upgrade mermaid-to-excalidraw to mermaid 10.6.1 you don't need to go through the same debugging. Look for the lines with //zsviczian Essentially the sequence of elements changed in the SVG file and
lineNode = topRootNode.previousElementSibling as SVGLineElement;
returns null. Also the logic for avoiding the overlapping vertical line changed... I hope you find this helpful.