Graphviz 2.444/7/2024 ![]() I expect the graphviz.Digraph(DotG) to provide a Graphviz-compliant Graph type variable so that this Graph can be used by other functions provided by Graphviz. edge( 'Hello', 'World') # also fails here, graph is rendered unusable? Expected Behaviour source) # BOOM! print( 'GvDotG:', GvDotG) # doesn't work here also (alias of GvDotG.source?) GvDotG. # But fails on next three lines print( 'GvDotG.source:', GvDotG. Print( 'DotG:', DotG) # prints out original file content # Now, convert PyDot Graph into a Graphviz Graph type GvDotG = graphviz. #!/usr/bin/python3 import graphviz import pydot print( 'PyDot version:', pydot.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |