CLI tool for converting between diagram formats (draw.io, DOT, Mermaid)
GPL-3.0 License
A tool for converting between different diagram formats, inspired by pandoc. Currently supports
[!IMPORTANT] The tool is highly experimental and can currently only parse/represent/format a small subset of diagrams in the aforementioned formats. More formats are planned.
Converting a draw.io diagram to DOT:
pandiag somediagram.drawio -o somediagram.dot
Converting a draw.io diagram to PDF (requires GraphViz to be installed):
pandiag somediagram.drawio -o somediagram.pdf
For examples on how to use pandiag as a library, check out the examples directory.