pydot-ng
pydot-ng copied to clipboard
[66] pydot generates unwanted quotes on edge output
Reported by [email protected], 2012-02-15T19:31:23Z
When generating edges with nodes name starting with a digit, unwanted quotes appear if src or dst includes a letter. pydot.Edge("1111:1111","2222") ===> 1111:1111 -- 2222 but pydot.Edge("1111:1111x","2222") ===> "1111:1111x" -- 2222
Since dot does not interpret properly port when quotes are present, this is bogus. See attached patch.
Originally assigned to [email protected]
Attached pydot_fix_need_quotes.patch
(view on Gist)
From: https://code.google.com/p/pydot/issues/detail?id=66