Clicky: Support export diagram to SVG (in addition to PDF)

Add support to export the diagram in SVG (detected by the file-name extension).

Hi,
I had to do a report for school and including a PDF in another document is a nightmare.
Also, modifying/exporting a SVG file on a dedicated software is way easier than doing it in clicky, especially if you want to isolate a part of the graph.