Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 475 Bytes

README.mkd

File metadata and controls

16 lines (9 loc) · 475 Bytes

TERminal GRaph drAWing

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.

links: tergraw on github and pypi