pydot-ng icon indicating copy to clipboard operation
pydot-ng copied to clipboard

[86] pydot can not print graph with special characters

Open prmtl opened this issue 9 years ago • 0 comments

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

prmtl avatar Mar 08 '15 16:03 prmtl