https://github.com/xflr6/graphviz
Raw File
Tip revision: 885220d49eee1f04cd6493cc69acd72684c59e05 authored by Sebastian Bank on 15 November 2020, 15:52:34 UTC
release 0.15
Tip revision: 885220d
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