I needed to convert some of my Obsidian Canvases into SVG images for embedding the resulting SVGs into a website. If you have a similar need, you can use my tool.
The converter code is available on GitHub. It’s a small Python program, and I believe the working principle should be clear from the source code. I tried to preserve the curvature of the edges to match Obsidian’s original visual representation.
Sample: