https://github.com/xflr6/graphviz
Raw File
Tip revision: f34358c9be27093f732d7c9bab30561f180154ba authored by Sebastian Bank on 12 December 2021, 10:59:30 UTC
release 0.19.1
Tip revision: f34358c
hello.py
#!/usr/bin/env python3

"""https://graphviz.org/Gallery/directed/hello.html"""

import graphviz

g = graphviz.Digraph('G', filename='hello.gv')

g.edge('Hello', 'World')

g.view()
back to top