Replies: 2 comments
-
Both formats are valid in both version, just one is compressed and one not. https://jgraph.github.io/drawio-tools/tools/convert.html (view source) shows how to encode/decode. The compressXml configuration option defines whether or not to compress, see https://www.drawio.com/doc/faq/configure-diagram-editor. |
Beta Was this translation helpful? Give feedback.
-
Thanks a bunch for your quick response! I'm going to look for a way to convert the compressed/base64 encoded data to the XML form I have in other versions of that .drawio file, using PowerShell code so that I can easily "normalize" the "file versions" collection. Has the default |
Beta Was this translation helpful? Give feedback.
-
I would like to be able to search the (SharePoint / OneDrive for Business) version history for a .drawio file to determine, for instance, when a particular (text) change was made.
I have extracted all the versions of the file to a folder, with names containing the version number.
So far so good.
But the file format changed between version 20 and version 21, so searching for text in version <= 20 doesn't work, and comparing the last version 20 format file version with the first version 21 format file version yields this kind of useless result:
I'm looking for a command-line, scriptable way to convert those pre-version 21 file format files to the latest file format.
Any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions