/orthogram

Draw block diagrams.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Orthogram

Orthogram is a command line program and Python library that lets you draw block diagrams. It reads the definition of a diagram from a YAML file and produces a PNG file like this one:

Complex diagram demonstrating the capabilities of the program

Target audience

This project might be of interest to you if:

  • You do not want to use a GUI. You prefer your diagrams defined in plain text files.
  • You know where your blocks should be, but you would rather have the computer maintain the connections for you.
  • You tried to force Graphviz or PlantUML to output the layout you want, but to no avail.

Installation and usage

Install from PyPI:

pip install orthogram

Assuming there is a diagram definition file named diagram.yaml in your current directory, run the following command to produce a PNG file:

python -m orthogram diagram.yaml

Please read the full online documentation for more.