Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001262graphvizDotpublic2008-02-22 22:492011-04-28 04:03
ReporterZack Weinberg 
Assigned Togviz 
PlatformOS*-*-OS Version
Summary0001262: nested cluster subgraph's box is not drawn

A cluster-subgraph nested inside a subgraph does not have its box drawn.

In the attached example, it is desired to have nodes C, D, and tag all
appear on the same row, and also for there to be a box around C and D
(but not tag). As best I can make sense of the manual, the construct
  subgraph {
     subgraph cluster0 {
         C D;

should do what I want. What actually happens is, C, D, tag are all
on the same row, but the box around C and D does not appear. If I
take the "subgraph cluster0" out of the anonymous block, then the box
appears but "tag" is not put on the same row as C and D. After
considerable messing around, I found that this construct produces
the output I want:

  subgraph cluster0 { color=blue; C D; }
  subgraph { rank=same; D tag; }

but only with an obnoxious warning:

Warning: D was already in a rankset, ignored in cluster _anonymous_0

At any rate, it seems a clear bug to me that a cluster-subgraph's
bounding box is not drawn just because it's nested inside another
TagsNo tags attached.
VERSION     2.16
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