This repository was archived by the owner on Nov 19, 2018. It is now read-only.
This repository was archived by the owner on Nov 19, 2018. It is now read-only.
[85] Multiple styles not correctly rendered ("style=S1, S2=true") #21
Open
Description
Reported by gerg.w...@gmail.com, 2013-09-20T20:02:10Z
What steps will reproduce the problem?
- add a node constructed like pydot.Node('A', shape='box', style='rounded,dotted')
- use graph.write_raw() to emit the dot equivalent
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:
import pydot
graph = pydot.Dot(graph_type='digraph')
graph.add_node(pydot.Node('A', shape='box', style='rounded,dotted'))
graph.write_raw('twostyles.dot')
and here is the complete dot file that I expect from that script:
digraph G {
A [style="rounded,dotted", shape=box];
}