Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

diagrams_net_automation-0.1.8.tar.gz (9.0 kB view hashes)

Uploaded Source

Built Distribution

diagrams_net_automation-0.1.8-py3-none-any.whl (10.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page