pydot-ng
pydot-ng copied to clipboard
[86] pydot can not print graph with special characters
Reported by [email protected], 2013-11-30T04:00:59Z
The following code shows that pydot can't print graph whose nodes consist of special characters. Is it a bug of pydot?
import pydot
graph = pydot.Dot(graph_type='graph')
graph.add_edge(pydot.Edge("<a>", "<b>"))
graph.add_edge(pydot.Edge("<a>", "<c>"))
graph.write_png('main1.png')
From: https://code.google.com/p/pydot/issues/detail?id=86