the outer svg element to draw to
the diagram to draw
the options for drawing
options : {
set_html_attribute? : boolean (true),
render_text? : boolean (true),
clear_svg? : boolean (true),
embed_image? : boolean (false),
background_color? : string (undefined),
padding? : number | number[] (10),
text_scaling_reference_svg? : SVGSVGElement (undefined),
text_scaling_reference_padding? : number | number[] (undefined),
}
define text_scaling_reference_svg
and text_scaling_reference_padding
to scale text based on another svg element
Draw a diagram to an svg element