Export Draw.io diagrams using docker
- Recursive export
- Partial export (newer, or based on git reference)
- Additional export formats with link extraction
- draw.io export formats : jpg, pdf, png, svg, vsdx, and xml
- drawio-exporter additional formats
- adoc - Export in PNG and create an additional Asciidoc file (with support external links).
- md - Export in PNG and create an additional Markdown file (with support external links).
docker pull rlespinasse/drawio-export
See Dockerfile
Print the available options
docker run -it rlespinasse/drawio-export --help
Simple run with default options
$ cd directory-with-drawio-files
$ docker run -it -v $(pwd):/data rlespinasse/drawio-export
+ export file : ./file1.drawio
++ export page 1 : Page-1
+++ generate pdf file
++ export page 2 : Page 2
+++ generate pdf file
Want to read more, go to rlespinasse/drawio-export on GitHub.