https://github.com/xflr6/graphviz
Revision 316a7b128bc99d4a659fb70027c92e7be2464fcf authored by Sebastian Bank on 13 May 2017, 17:23:25 UTC, committed by Sebastian Bank on 13 May 2017, 17:23:25 UTC
1 parent 7a82498
Raw File
Tip revision: 316a7b128bc99d4a659fb70027c92e7be2464fcf authored by Sebastian Bank on 13 May 2017, 17:23:25 UTC
fix untested assertion, work on tests
Tip revision: 316a7b1
hello.py
#!/usr/bin/env python
# hello.py - http://www.graphviz.org/content/hello

from graphviz import Digraph

g = Digraph('G', filename='hello.gv')

g.edge('Hello', 'World')

g.view()
back to top