https://github.com/xflr6/graphviz
Raw File
Tip revision: 521bb746585784efc5c4f362c2a2aa12425deb8c authored by Sebastian Bank on 28 April 2018, 20:36:47 UTC
release 0.8.3
Tip revision: 521bb74
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