Skip to content

rlespinasse/drawio-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draw.io Export

Export Draw.io diagrams using docker

Features

  • Recursive export

  • Partial export (newer, or based on git reference)

  • Additional export formats with link extraction

Supported Export formats

  • 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).

Additional fonts

Check installed fonts list from drawio-desktop-headless docker base image.

Note
Want a new font package, modify the drawio-desktop-headless project.

Installation

docker pull rlespinasse/drawio-export

Usage

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

Build on top of

Used by

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.