Skip to main content

Module svg

Module svg 

Source
Expand description

Scene โ†’ SVG. Hosts call this; they do not reimplement markup.

Functionsยง

scene_to_svg
Serialize a Scene to inline SVG (no XML declaration).
scene_to_svg_json
Scene JSON โ†’ SVG (Python / wasm hosts).