Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
there are 2 issues here:
first a dotname containing spaces
second a node name with a restricted name
both can be fixed on your side with the use of double quotes:
import pydot
graph = pydot.Dot('"class dependency"', graph_type='digraph')
graph.add_node(pydot.Node('"graph"'))
graph.write_png('output.png')
This is actually no issue with pydot, but with the dot language, pydot could
fix it with automatically add doublequotes evrywhere.
There already is a patch for this, see issue 61.
Original comment by ortenbur...@gmail.com
on 22 Jun 2012 at 4:45
Original comment by ero.carr...@gmail.com
on 3 Jul 2012 at 10:38
Original issue reported on code.google.com by
evandrix
on 28 May 2012 at 8:57