Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatially quote node names containing a colon #3

Open
josch opened this issue Apr 1, 2016 · 0 comments
Open

Automatially quote node names containing a colon #3

josch opened this issue Apr 1, 2016 · 0 comments

Comments

@josch
Copy link

josch commented Apr 1, 2016

Hi,

if a node name contains a colon, then an interesting thing happens:

>>> g = pydot.Dot()
>>> g.add_node(pydot.Node('foo:bar'))
>>> print(g.to_string())
digraph G {
foo;
}

As you can see, the node is now named foo and not foo:bar. I can see elsewhere that this might be called a "feature" of pydot. Unfortunately, one of the more popular users of pydotplus, networkx, sees this as a bug instead:

networkx/networkx#2050

I want to clarify with you what exactly is the case from your point of view? Is this a pydotplus bug or a pydotplus feature? If the former, can it get fixed?

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

No branches or pull requests

1 participant