Open
Description
Is your feature request related to a problem? Please describe.
As the SVG is lacking viewBox attribute, scaling the output is a bit tricky.
Describe the solution you'd like
In addition to height and width, a viewBox property is also added.
Also, if an option to specify an ID for the generated SVG is there, that would make the post-processing easier.
Additional context
mermaid-js/mermaid-live-editor#1457