We try writing a click-enrichment script for sequence diagrams. site
Try Enrich Any SVG
pages/svg-enrichment/tests
First by hand, change width to 100%, remove height and add attribute: viewbox="0 0 width height"
Next we do these same edits with an html script and wrap the <text> elements with <a data-title="..."> now recognized as an internal link. github
http://ward.dojo.fed.wiki/assets/pages/svg-enrichment/convert.html
pages/svg-enrichment