Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

[66] pydot generates unwanted quotes on edge output #8

Open
prmtl opened this issue Mar 8, 2015 · 1 comment
Open

[66] pydot generates unwanted quotes on edge output #8

prmtl opened this issue Mar 8, 2015 · 1 comment

Comments

@prmtl
Copy link
Contributor

prmtl commented Mar 8, 2015

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

@prmtl
Copy link
Contributor Author

prmtl commented Mar 8, 2015

Comment by [email protected], 2012-06-26T14:39:16Z

Assigned to [email protected]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant