https://github.com/xflr6/graphviz
Raw File
Tip revision: abdde3de2313550b48d685a2a41568752afe248e authored by Sebastian Bank on 12 February 2016, 14:43:25 UTC
release 0.4.10
Tip revision: abdde3d
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