Move to https://github.com/kaakaa/dio-exporter
Convert dio to png
- Docker, Docker Compose
- Go
- Japanese fonts files (if you use Japanese in diagrams)
-
git clone https://github.com/kaakaa/dio-converter
-
- (If you use Japanese fonts) download Japanese font files
- Download Japanese fonts file from https://fonts.google.com/?subset=japanese
- Unzip and move fonts files (*.otf) to
docker-drawio/image-export/standalone/fonts
-
- Run
docker-compose up -d
- Run
-
- Run
go run main.go
- find
.dio
files in./input/
recursively - output
.png
files to./output/
- Run
- CLI
- inputs
- outputs
- input types (
.dio
,.drawio
) - output types (png, svg, pdf)