Optional container: string | HTMLElementPrivate Optional backgroundProtected Optional containerPrivate Optional containerPrivate docPrivate randomPrivate rcPrivate svgOptional classes: string | string[]Optional fill: stringPrivate bboxOptional fill: stringOptional classes: string | string[]Private embedPrivate nextOptional fill: stringOptional classes: string | string[]Optional classes: string | string[]Optional fill: stringOptional radius: numberOptional classes: string | string[]Optional plain: booleanOptional classes: string | string[]Optional fill: stringStatic Private addAdds classes to an SVG element via the "class" attribute rather than the classList API, since classList isn't implemented by svgdom (used to render server-side / in tests).
Optional classes: string | string[]Static Protected arcStatic Private boxStatic Protected ngonStatic Private roundedStatic Protected textStatic Private toStatic Protected toStatic Protected triangleGenerated using TypeDoc
Browsers return an empty bounding box for elements that are not part of the document, so a detached (headless) diagram is briefly attached to the document while it's being measured.