Skip to content
Snippets Groups Projects
Commit 2e494399 authored by Romain Vuillemot's avatar Romain Vuillemot
Browse files

Question 2.2 -> 3.6 suite à des soucis d'installation de graphviz

parent 23b6c5f4
Branches
No related tags found
No related merge requests found
from graphviz import Digraph
g = Digraph('G', filename='graph.gv')
g.edge('a', 'b')
g.edge('a', 'c')
print(g.source)
g.render(filename='img')
g.view()
\ No newline at end of file
File added
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment