Scripts to automatically covert diagrams.net files, e.g., to PDF.
Project description
Diagrams.net Automation
[[TOC]]
Usage
Usage: diagrams-net-automation [OPTIONS] COMMAND [ARGS]...
:return:
Options:
--version Version
--help Show this message and exit.
Commands:
convert-diagrams Converts Draw.io files to PDF and PNG.
Convert Diagrams
Usage: diagrams-net-automation convert-diagrams [OPTIONS]
Converts Draw.io files to PDF and PNG.
Options:
-d, --input-directory DIRECTORY
Input directory with the diagrams.net files.
[default: .]
-o, --output-directory DIRECTORY
The output directory where the PDF, JPG, or
PNG files should be stored. [default: dist]
-D, --draw-io FILE The diagrams.net executable. [default: /App
lications/draw.io.app/Contents/MacOS/draw.io
]
-w, --width INTEGER If a width is passed, we will generate a PNG
and/or JPG with this width.
-X, --include-xml Convert also .xml files, not only .drawio
files.
-P, --generate-png Generate PNG files.
-J, --generate-jpg Generate JPG files.
-S, --skip-pdf-generation If this flag is set, we will not generate
PDF files.
-I, --ignore-cache If this flag is passed, we will ignore
anything in the current cache file. In the
end, we will overwrite the current cache
file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file diagrams_net_automation-0.1.8.tar.gz
.
File metadata
- Download URL: diagrams_net_automation-0.1.8.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edbb431b7589bf6e742597ddca712be5b40cec99f23938787a69c553f8c27857 |
|
MD5 | 1a322bc9193808d3e102330addfb8f51 |
|
BLAKE2b-256 | a8119d590f4d04576c8536e9c59c53426e483d0f72ae58a2bd947f16f5b858ba |
File details
Details for the file diagrams_net_automation-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: diagrams_net_automation-0.1.8-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10488471ef8438c1a1bbbe2405fa27b65b11b74f441a02cffbed2f2013737e2e |
|
MD5 | a77eaf7023bbde930f4b33304dba7948 |
|
BLAKE2b-256 | 05916e251c5d7ee7987677735d2197988bde9cc14b143dbe5104eff25425ccf5 |