Skip to main content

Draw diagrams of graphs.

Project description

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

Diagram of a combined cycle power plant

Target audience

This project might be of interest to you if:

  • You want to draw a network of boxes connected to each other with arrows.

  • You do not want to use a GUI. You prefer your diagrams defined in plain text files.

  • You know where your boxes should be, but you would rather have the computer maintain the connections for you.

  • You are not exploring the interconnections of thousands of nodes in random networks. You are rather trying to prepare a slide for your little presentation or create a diagram for your software documentation project. A grid layout is probably all you need.

  • You tried to force Graphviz 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 SVG file:

python -m orthogram diagram.yaml

Please read the full online documentation for more.

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

orthogram-0.3.0.tar.gz (45.0 kB view hashes)

Uploaded Source

Built Distribution

orthogram-0.3.0-py3-none-any.whl (48.1 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