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

Support for new libraries XML/JSON format (when using custom libraries) #406

Open neshanjo opened 8 months ago

neshanjo commented 8 months ago

Hi and thanks for your great work!

In a recent version of drawio, the XML export format for libraries seems to have changed:

Current format example : https://github.com/architecture-decomposition-framework/adf-diagramsnet/blob/9f1b3668506db262a6d613b4f015c0a7375b3deb/libraries/ADF_Env%40DT.xml (e.g. produced by drawio v22.0.2)

Previous format example: https://github.com/architecture-decomposition-framework/adf-diagramsnet/blob/last_working_version/libraries/ADF_Env%40DT.xml (e.g. produced by drawio v20.2.8)

When I configure a library in the new format as customLibrary in the plugin configuration, the library is shown but is empty.

Might be resolved with using a newer drawio version as core version?!?

jmsrpp commented 2 months ago

I report the same behavior with all custom libraries added since the last update. Any chance of getting this fixed?