https://github.com/xflr6/graphviz
Raw File
Tip revision: 435030543a9e8aa31b9667b400cf76b40829df0a authored by Sebastian Bank on 13 July 2020, 11:54:54 UTC
release 0.14.1
Tip revision: 4350305
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