Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000645graphvizDotpublic2006-12-08 03:062011-04-28 04:03
ReporterEmmanuel Pietriga 
Assigned Togviz 
PlatformOS*-*-WinXPOS Version
Summary0000645: Problems with images when asking for an SVG output

A ZGRViewer user reported that there was a problem with images used as node shapes.
I traced down the problem to the SVG output of dot.

The problem is different depending on the version of GV.

With 2.8, only half of the node images are displayed, namely those inside HTML tables. The
standalone ones declared through shapefile are not displayed at all (I checked the SVG
serialization, they are not declared at all). But those that are displayed are correctly located
w.r.t other elements in the graph. See [1] for a screen capture of the SVG rendering by

For comparison, [2] shows the correct output obtained by asking dot to generate a PNG image
instead of an SVG document.

With 2.12, the SVG document contains all images, but as you can see in [3] there vertical
coordinate is inverted. This is the ZGRViewer rendering. When I try to look at this SVG
document in either Adobe Illustrator or Firefox, the images simply don't show at all.

The command lines used were :
dot -Tsvg -o output.svg
dot -Tpng -o output.png

[1] \<A HREF=\>\<\A\> [^]
[2] \<A HREF=\>HREF=\<\A\> [^]
[3] \<A HREF=\>\<\A\> [^]

Additional Information

I can provide you with image.png, I just didn't know how to upload it through the bug
report form.
TagsNo tags attached.
FIX-COMMENT In 2.12, it is probably just a sign error in the Y coordinate of image elements.
VERSION     2.12
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 => user1

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