Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001197graphvizDotpublic2007-11-12 05:522011-04-28 04:03
ReporterChristophe Dousson 
Assigned Toerg 
PlatformOSPowerPC-OSX-10.4OS Version
Summary0001197: Invalid bounding box of clusters

Bounding box of cluster are not always OK (when using -y option).

In the provided example, we have:
       subgraph cluster3 {
                graph [label=xxxxx,

So, the label position is outside of the bounding box.

It seems that the -y option does not affect the calculus of the bounding box.
(the bounding box does not change with or without -y).
The bounding box is delivered in the "standard coordinate system" but not in the reversed one.
Steps To Reproduce

digraph g {
       subgraph cluster3 {
Additional Information
Graphviz 1.x was correct and delivers bb="8,84,78,8"

[ellson] This bug is still in graphviz-2.16 and can be seen with:
   dot -y | neato -n1 -Tpng -o b1228.png
producing \<A HREF="b1228.png"\>this output\</A\>.

[erg] The problem is the fix to bug 789, which removed the
inversion of bb coordinates because this cause neato -n to crash.
Obviously, the current output is wrong. The options are to
re-introduce the inversion, or do the inversion but also flip
LL.y and UR.y. The latter means the output will work in neato -n,
but also means the LL vertex is now in the upper right. Since
lower left seems pretty well defined regardless of coordinate
system, we decided to just re-introduce the inversion but also fix
neato -n to normalize bounding boxes.
TagsNo tags attached.
STATUS-COMMENTFixed (12 Nov 2007)
VERSION     2.14.x
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 => erg

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