hediet / vscode-drawio

This unofficial extension integrates Draw.io (also known as diagrams.net) into VS Code.
https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio
GNU General Public License v3.0
9.02k stars 406 forks source link

Feature Request: Ability to Save XML Output as "Compressed" #432

Open dudleycodes opened 2 weeks ago

dudleycodes commented 2 weeks ago

Love this plugin - amazing work!

As a quick request, would it be possible to have diagrams saved as compressed XML?

This would allow the ability to use headless drawio clients, (such as https://github.com/marketplace/actions/actions-drawio), to generate PDFs from the command line.

I'm currently on the 2024-03-26 version. It has no problems opening compressed-XML files, saved from other sources. But, when this plugin it saves, it always saves as uncompressed XML -- and I don't see any compression options inside the plugin itself.

Thanks for considering!

image