https://github.com/xflr6/graphviz
Raw File
Tip revision: 647174bd604640d4ad28d4a59dede9dfca26da1d authored by Sebastian Bank on 03 June 2019, 18:31:44 UTC
release 0.11
Tip revision: 647174b
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