app.export.svg

Standalone SVG export helper.

export-svg!

(export-svg!)

Exports the phylogenetic tree SVG to a file.

Grabs the live <svg> DOM node by its id, clones it, adds the xmlns attribute required for standalone SVG files, serializes it to XML text, and triggers a save dialog.