pombreda / pydot

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

Quotes included in the node's name #72

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a dot file with lines:
  "testnode"
  testnode 
2. call get_nodes()

What is the expected output? What do you see instead?
I would expect one node called 'testnode'. Not two - 'testnode' and 
'"testnode"' (quoted). Quotes should not be included in the names.

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

Possibly associated with issue #66.

Dot spec. states:
An ID is just a string; the lack of quote characters in the first two forms is 
just for simplicity. There is no semantic difference between abc_2 and "abc_2", 
or between 2.34 and "2.34".

http://www.graphviz.org/content/dot-language

Original issue reported on code.google.com by wod...@gmail.com on 7 May 2012 at 1:30