Open prmtl opened 9 years ago
Comment by gerg.w...@gmail.com, 2013-09-20T11:04:20Z
Oops, issue title is slightly misleading. I'm pretty sure this is a quoting bug. I got confused because using write_dot() creates output like
A [style=rounded, dotted=true, shape=box, ...];
I assume that's because dot interprets ",dotted" as an attribute with no value, so gives it the default value true. Issue title should be
Multiple styles not correctly rendered (quotes missing)
Reported by gerg.w...@gmail.com, 2013-09-20T20:02:10Z
What steps will reproduce the problem?
What is the expected output? What do you see instead?
expected output: A [style="rounded,dotted", shape=box];
actual output: A [style=rounded,dotted, shape=box];
Note the lack of quoting. dot sees only "rounded" and ignores "dotted".
What version of the product are you using? On what operating system?
svn r29 from http://pydot.googlecode.com/svn/trunk
Please provide any additional information below.
Here is my complete test script:
and here is the complete dot file that I expect from that script:
From: https://code.google.com/p/pydot/issues/detail?id=85