toSvgString

Converts an SVG element to its string representation.

This function renders the SVG element into a string by delegating to the element's render() implementation.

Useful when producing final output (for example calling from application code or tests).

Return

The string representation of the SVG element.