https://github.com/xflr6/graphviz
Raw File
Tip revision: 2b6d2196b2dea5fdddc140998c7845328980187b authored by Sebastian Bank on 22 January 2016, 11:37:57 UTC
release 0.4.9
Tip revision: 2b6d219
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