You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. create a diagram using pydot.
2. put one of the nodes name as 'Testnode:###@'
3. or put labels on arrow as 'testlabel:###,@'
What is the expected output? What do you see instead?
It Should consider the name as a string and should be shown on the node/label
What version of the product are you using? On what operating system?
pydot 1.0.2
Please provide any additional information below.
Original issue reported on code.google.com by jmnar...@gmail.com on 20 Aug 2010 at 10:00
As with issue 28: The problem with the colon in Node names is that Graphviz
will use them to specify a port where to attach edges, it's a Graphviz
artifact. The way pydot supports them is to allow them in names, if you wish to
simply have colon characters in the name simply add quotes to the string.
For instance: (note the double quotes in the actual string):
node = pydot.Node('"Testnode:###@"')
print node.get_name()
> '"Testnode:###@"'
Original comment by ero.carr...@gmail.com on 30 Oct 2010 at 11:29
Original issue reported on code.google.com by
jmnar...@gmail.com
on 20 Aug 2010 at 10:00The text was updated successfully, but these errors were encountered: