https://github.com/xflr6/graphviz
Raw File
Tip revision: cbf6638bae6e1d8ca05873b500878434db934b50 authored by Sebastian Bank on 16 April 2022, 15:13:55 UTC
release 0.20
Tip revision: cbf6638
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