xflr6 / graphviz

Simple Python interface for Graphviz
https://graphviz.readthedocs.io
MIT License
1.63k stars 211 forks source link

Semitransparent, thick edges are not rendered properly #183

Closed BenPortner closed 1 year ago

BenPortner commented 1 year ago

The renderer does not render edges properly if both edge transparency (color alpha channel) and penwidth are modfied, see example below. The error seems to occur for all image output formats (tested gif, bmp, jpeg)

digraph {
"A" -> "B" [color="#00000080", penwidth="20"] 
"C" -> "B" [color="#00000080", penwidth="10"] 
}

graph2

Produced using Graphviz v.6.0.1 build h8f5d4a1_0 (most recent version on conda-forge).

xflr6 commented 1 year ago

Thanks. AFAICT this is an upstream issue (something in https://www.graphviz.org -- not specific to the Python wrapper here).

Please report upstream: https://gitlab.com/graphviz/graphviz/-/issues