Is it possible to modify .drawio/.svg files related to wizard configuration in order to create a custom color palette? I tried editing the .drawio files and then generating .svg files, but during configuration the graphics don’t update according to the user’s choices.
This should be possible if you run the convert_drawio_svg_to_our_svg.py script - indeed, this is how the wizard works - but changes in more recent versions of drawio have changed its SVG export format such that the Python conversion script doesn’t ‘see’ the objects. Unfortunately, I don’t have easy access to which version it is; probably whatever was current in November 2023 (when the files were originally committed). You can check the metadata at the top of the drawio file where it specifies the electron version to be sure.
If you just want to update the colour palette, the simplest way might to be modify the existing SVG files, and then you don’t have to deal with drawio - which in that version also had a bug where I had to keep importing the SVG plugin to get it to correctly output the metadata!
If you’re really keen, I’ve attached a WIP patch to the Python file which may or may not work with later version of drawio.
0001-Update-to-support-drawio-24.-Abandoned-because-of.patch (6.4 KB)