Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001956graphvizDotpublic2010-09-15 14:392011-04-28 04:03
ReporterJustin Dobbs 
Assigned Togviz 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-Windows-XPOS Version
Summary0001956: Images do not properly rotate with rotate attribute
Description



I have a digraph that renders fine. The nodes are rectangles with
HTML tables, so that each node has an image on the first table row and
a caption on the second table row.



I want to make it landscape, so I specify rotate=90. The graph and HTML
tables rotate, but the images in the tables are pasted off to the right
of the drawing without rotation.



I suppose there's a chance that this is a bug in Mozilla, but I can't
tell from the outside. I ended up pasting the drawing into Visio and
rotating it there.
Steps To Reproduce

// You have to supply the images, but it doesn't seem to matter what
// images you use. This works fine if rotate is not specified.
digraph G
{
  rotate = 90;
  n0 [shape=box, label =<<table border="0"><tr><td><img src="00.png" scale="both"></img></td></tr>
                                          <tr><td>Caption 0</td></tr></table>>];
  n1 [shape=box, label =<<table border="0"><tr><td><img src="9A.png" scale="both"></img></td></tr>
                                          <tr><td>Caption 1</td></tr></table>>];
  n0 -> n1;
}
Additional Information

[arif]
This should be svg and/or browser related.
Graphic outputs are generated with images rotated as well.(I tested jpg and png)
\<br\>
\<IMG SRC="b2036.png"\>

[erg]
This is a bug in our core SVG renderer. Fortunately, we have lots of redundancy. If you use the cairo renderer:
<CD>
    dot -Tsvg:cairo
</CD>
you should find the output is rotated correctly.
TagsNo tags attached.
AUXILLARY-FILEShttp://www.graphviz.org/bugs/b2036.png [^]
DATE-FIXED
FIX-COMMENT
FORMER-ID2036
INPUT-FILE
OUTPUT-FILEhttp://www.graphviz.org/bugs/b2036.svg [^]
STATUS-COMMENT*
VERSION     2.27
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