https://github.com/xflr6/graphviz
Raw File
Tip revision: 706097834d47a837531d7716cc612e9b7a0ab627 authored by Sebastian Bank on 29 April 2017, 08:10:39 UTC
release 0.7
Tip revision: 7060978
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