We want to be able to export in a unique folder and produce this kind of output (and also to manage collision if a drawio file exists in different folder)
To do so, we will add an option --output-mode (relative|absolute) to produce the output below using drawio-exporter --output export --output-mode absolute --format png. relative will be the default value and produce the current output.
Based on this file tree
The run of
drawio-exporter --output export --format png
will produceWe want to be able to export in a unique folder and produce this kind of output (and also to manage collision if a drawio file exists in different folder)
To do so, we will add an option
--output-mode (relative|absolute)
to produce the output below usingdrawio-exporter --output export --output-mode absolute --format png
.relative
will be the default value and produce the current output.