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

[72] Quotes included in the node's name

Open prmtl opened this issue 9 years ago • 0 comments

Reported by [email protected], 2012-05-07T15:30:05Z

What steps will reproduce the problem?
  1. Create a dot file with lines:
  "testnode"
  testnode 
  1. 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 From: https://code.google.com/p/pydot/issues/detail?id=72

prmtl avatar Mar 08 '15 16:03 prmtl