V.createSVGStyle(stylesheet)
Return an SVGStyleElement containing the CSS stylesheet.
stylesheet
const style = V.createSVGStyle(` rect, circle { fill: white; stroke: black; } `); document.getElementById('my-svg').appendChild(style);