Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001314graphvizDotpublic2008-05-04 16:422011-04-28 04:03
ReporterArt Green 
Assigned Togviz 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOS*-*-OS Version
Summary0001314: Dot fails to process graph with rankdir=LR and landscape=true
Description



If a graph (a digraph in my example) has both rankdir=LR and
landscape=true attributes set, the graph will draw downwards (as if the
graph has been rotated 90 degrees) and the output will either be very
dirty (not correct) or completely blank. If the same DOT source is passed
to dotty or OmniGraffle, the graph draws correctly. This has been
confirmed on Mac OS X 10.5 and recent Ubuntu and FreeBSD builds of
graphviz. This can be worked around by removing the landscape attribute.
Steps To Reproduce

// Produces blank (or corrupt) "downward" graph
digraph "testgraph" {
graph [ rankdir=LR, landscape=true ];
A -> B
}

// Produces correct graph as expected
digraph "testgraph" {
graph [ rankdir=LR ];
A -> B
}
Additional Information

[elllson] The output of: "dot -Tpng" looks correct to me?
\<A HREF="b1347.png"\>(attached)\</A\>

The output of dotty looks like it is ignoring landscape=true since it is not rotated on the screen.
Not a big deal, since landscape mode is not particularly useful on a screen. Its mostly intended for printing.

What output format are you using?
TagsNo tags attached.
AUXILLARY-FILEShttp://www.graphviz.org/bugs/b1347.png [^]
DATE-FIXED
FIX-COMMENT Workaround listed in problem description.
FORMER-ID1347
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.18
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