Skip to content

TiphaineV/streamfig

Repository files navigation

PyPI version badge

streamfig

Python class to generate describe stream graphs in fig format.

Documentation is in doc/, and some code examples are in examples/. The PNG output from all the examples is in images/ . Below is the result from all the examples.

Example of output of the streamfig package

Get started

First, write some python code:

import streamfig

s = streamfig.StreamFig()
s.addNode("u")
s.addNode("v")
s.addLink("u", "v", 1, 3)
s.save("my_first_stream.fig")

Then, generate your image:

python3 my_first_stream.py; fig2dev -Lpng my_first_stream.fig > my_first_stream.png

About

Python class to generate describe stream graphs in fig format

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.txt

Stars

Watchers

Forks

Packages

 
 
 

Contributors