app.export.pdf
PDF export using jsPDF and svg2pdf.js.
export-pdf!
(export-pdf!)Export the current phylogenetic tree SVG as a PDF file.
Reads the SVG element with id phylo-svg, determines its pixel dimensions, creates a jsPDF document sized to fit the SVG exactly, renders the SVG into the document using svg2pdf.js, and saves the result as phylo-tree.pdf.