davidbonnici1984 / draw.io-export

Convert draw.io xml to pdf/png within command line.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

draw.io-export

Convert draw.io xml file (usually *.drawio) to pdf/png within command line.

Works nicely with make and/or latexmk. Useful if you are writing a paper or thesis with many figures.

Usage with npm

npm install --global draw.io-export
drawio <source.drawio> -o <dest.pdf>
drawio <source.drawio> -o <dest.png>

Usage with Docker

docker run --rm \
         -v <your folder with .drawio files>:/files \
         b1f6c1c4/draw.io-export

About

Convert draw.io xml to pdf/png within command line.

License:MIT License


Languages

Language:JavaScript 89.8%Language:Dockerfile 6.2%Language:Shell 3.9%