A little script that turns yaml files into graphs. Designed for polycule visualizations.
Go to file
2023-10-31 18:57:21 +00:00
.gitignore Add a gitignore 2012-09-10 20:33:22 -04:00
example.json Add ability to color and label edges. 2014-05-03 14:53:52 -04:00
example.png Add ability to color and label edges. 2014-05-03 14:53:52 -04:00
polygraph.py Add documentation and port to python3. 2023-10-31 18:57:21 +00:00
readme.md Add documentation and port to python3. 2023-10-31 18:57:21 +00:00
requirements.txt Add documentation and port to python3. 2023-10-31 18:57:21 +00:00

Polygraph - polycule visualization for nerds

This program is a thin shell on top of pygraphviz aimed at making it easy to draw a graph of your polyamorous network.

It can, of course, be trivially used for anyone who wants a quick way to define a graph and render it; it's just a thin shell on top of a few of pygraphviz' features. Feel free to use it for anything that seems useful to you!

Installation

On Ubuntu, just run:

sudo apt install graphviz-dev python3-pydot
pip3 install -r requirements.txt

Now you can define a graph file and run the tool with:

./polygraph.py -i <input_file.json> -o <output_file.json>

See ./polygraph.py --help for more detailed options.