createSvgNode method
Generates SVG representation of the element.
Implementation
@override
XmlElement createSvgNode(ChantContext ctxt, [ChantLayoutElement? source]) {
updateBounds();
final result = annotations
.map((a) => a.createSvgNode(ctxt, source))
.toList();
updateBounds(-1.0);
return QuickSvg.createNode('g', {}, result);
}