I have a dot file generated from my code and want to render it in my output. For this i have seen on the net that the command is something like this on cmd
# Convert a .dot file to .png
from graphviz import render
render('dot', 'png', 'fname.dot')
# To render an existing file in a notebook
from graphviz import Source
Source.from_file("fname.dot")