If you don’t necessarily need SVG, you could try that too.
However, in the version only linear structures, no arcs. But you could extend that.