You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
In [2]:
from graphviz import Digraph
# Create Digraph object
dot = Digraph()
In [3]:
# Add nodes 1 and 2
dot.node('1')
dot.node('2')
# Add edge between 1 and 2
dot.edges(['12'])