QuantStack / jupyterlab-drawio

A standalone embedding of the FOSS drawio / mxgraph package into jupyterlab
BSD 3-Clause "New" or "Revised" License
600 stars 75 forks source link

Allow exporting into more formats #14

Open ashwinvis opened 6 years ago

ashwinvis commented 6 years ago

The online draw.io app supports more formats, whereas only SVG is available as an export option. At least include PDF and PNG, which can be easily embedded in Latex.

davidjgraph commented 6 years ago

PNG export is possible client-side only in Chrome, Firefox and Edge. PDF export client-side isn't possible in any platform.

ashwinvis commented 6 years ago

I am using Firefox 60, yet I see only Export diagram as SVG option from the JupyterLab File menu.

About client-side PDF, I am not well versed in JS, but this is what I found