cudadog / pydot

Automatically exported from code.google.com/p/pydot
MIT License
0 stars 0 forks source link

pydot should quote labels with colons #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add to a graph pydot.Edge(src='A', dst='B', label='A:B')
2. try to render

What is the expected output? What do you see instead?

Expect a graph.  Instead, produces an invalid DOT file which then leads to an 
error:
Warning: /tmp/tmpxw5_0w: syntax error in line 5 near ':'

What version of the product are you using? On what operating system?

1.0.28 Linux (Ubuntu)

Original issue reported on code.google.com by nitsuadi...@gmail.com on 31 Jan 2015 at 10:26