A dumb and simple graph printing in your terminal, implemented in Python.
Here is the API:
GRAPH = {'a': {'b', 'c'}, 'd': {'b', 'e'}, 'f': {'g'}}
print('\n'.join(tergraw.pretty_view(GRAPH, oriented=True)))
Installation:
pip install tergraw
Needs the graphviz library to be installed.