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
{{ message }}
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.
Define node with an empty label:
node = Node('PROCESS_END', shape='doublecircle', style='filled', label='', width='.15')
What is the expected output?
PROCESS_END [width=".15", style=filled, shape=doublecircle, label=""];
or better:
PROCESS_END [width=".15", style="filled", shape="doublecircle", label=""];
What do you see instead?
I get:
PROCESS_END [width=".15", style=filled, shape=doublecircle, label=];
and the the exception while generating png output:
Error: XXX.gv:17: syntax error near line 17
context: PROCESS_END [width=".15", style=filled, shape=doublecircle, >>> label=] <<< ;
and the result picture without the requested width of .15, and with a PROCESS_END label .
What version of the product are you using? On what operating system?
Comment 1: [email protected], Jan 10, 2012
I see where that might be coming from. Although some attributes are handled better without quotes, I do see the problem with not having quotes for the empty label ;)
Will look into it.
Reported by [email protected], 2012-01-10T10:19:15Z
What steps will reproduce the problem?
node = Node('PROCESS_END', shape='doublecircle', style='filled', label='', width='.15')
What is the expected output?
PROCESS_END [width=".15", style=filled, shape=doublecircle, label=""];
or better:
PROCESS_END [width=".15", style="filled", shape="doublecircle", label=""];
What do you see instead?
PROCESS_END [width=".15", style=filled, shape=doublecircle, label=];
Error: XXX.gv:17: syntax error near line 17
context: PROCESS_END [width=".15", style=filled, shape=doublecircle, >>> label=] <<< ;
What version of the product are you using? On what operating system?
The case is with 1.0.28 release.
Please provide any additional information below.
Release 1.0.25 manages this case properly.
IMO all the attribute values should be quoted.
Originally assigned to [email protected]
From: https://code.google.com/p/pydot/issues/detail?id=63
The text was updated successfully, but these errors were encountered: