Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001710graphvizOutput Generationpublic2009-09-10 13:462011-04-28 04:03
ReporterJeff Gao 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOS*-*-OS Version
Summary0001710: Image affects edge coloring
Description



When I put a img tag in a node, the colored edge will not work. If I
keep remove img tags, the color comes back on edges.



Here are two simple scripts,



W/ colored edge (see \<A HREF="b1763a.gif"\>right.gif\</A\>.
<CD>
digraph G {
n0 [shape=none, label=<<table><tr><td>1</td></tr></table>>]
n1_1 [shape=none, label=<<table><tr><td>2</td></tr></table>>]



n0 -> n1_1[penwidth="3", color="red"];



}
</CD>



W/O colored edge (see wrong.gif):



<CD>
digraph G {
n0 [shape=none, label=<<table><tr><td><img
src="/path/to/image.gif"/></td></tr></table>>]
n1_1 [shape=none, label=<<table><tr><td>2</td></tr></table>>]



n0 -> n1_1[penwidth="3", color="red"];



}
</CD>



I need image nodes and colored edges at the same time. What can I do?
Any suggestions? Thanks much!



btw, two screen shots were attached (produced from dot 2.24, linux version).
Additional Information

[ellson]
But on the problem reported by Ryan, using latest CVS snapshot, these two:
<CD>
    $dot -Tgif:gd bxxx_gif.gv | xv -
    $dot -Tpng:gd bxxx_gif | xv -
</CD>

both exhibit the corrupted edge color as he described. This implicates the GD renderer as the likely cause.

Changing the image to png format and using cairo support produces correct output.

<CD>
    $dot -Tgif bxxx_png | xv -
    $dot -Tpng bxxx_png | xv -
</CD>


Workaround: don't use GIF images.
TagsNo tags attached.
AUXILLARY-FILEShttp://www.graphviz.org/bugs/b1763a.gif [^]
DATE-FIXED
FIX-COMMENT
FORMER-ID1763
INPUT-FILE
OUTPUT-FILEhttp://www.graphviz.org/bugs/b1763.gif [^]
STATUS-COMMENTFixed (10 Sep 2009)
VERSION     2.25
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user695


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker