Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001393graphvizFdppublic2008-08-22 10:002011-04-28 04:03
ReporterJesus Romero de Pablos 
Assigned Toerg 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOS*-Linux-RHEL 4.6OS Version
Summary0001393: CanŽt use an edge from a cluster that are included in other cluster subgraph
Description
When I try to create an edge from a cluster all work fine but if the cluster are included into another cluster de output of the fdp are deformed.
Steps To Reproduce

This example works fine:

<CD>
digraph G{
 size="50,50";
 nodesep=.5;
 compound=true;
 bgcolor=grey;
 node [style=bold, fontsize=20];
 edge [arrowsize=2, labelfontsize=20, style=bold];

 subgraph "cluster_1"{
  fontsize=45;
  fontcolor=mediumblue;
  label="1";
  style=bold;
  color=mediumblue;
  "1.1";
  "1.2";
 }
 subgraph "cluster_G"{
  fontsize=45;
  fontcolor=mediumblue;
  label="G";
  style=bold;
  color=mediumblue;
  subgraph "cluster_2"{
   fontsize=45;
   fontcolor=mediumblue;
   label="2";
   style=bold;
   color=mediumblue;
   "2.1";
   "2.2";
  }
 }
 "cluster_G" -> "1.1";
 "cluster_G" -> "1.2";
}
</CD>

This example doesnŽt work correctly:

<CD>
digraph G{
 size="50,50";
 nodesep=.5;
 compound=true;
 bgcolor=grey;
 node [style=bold, fontsize=20];
 edge [arrowsize=2, labelfontsize=20, style=bold];

 subgraph "cluster_1"{
  fontsize=45;
  fontcolor=mediumblue;
  label="1";
  style=bold;
  color=mediumblue;
  "1.1";
  "1.2";
 }
 subgraph "cluster_G"{
  fontsize=45;
  fontcolor=mediumblue;
  label="G";
  style=bold;
  color=mediumblue;
  subgraph "cluster_2"{
   fontsize=45;
   fontcolor=mediumblue;
   label="2";
   style=bold;
   color=mediumblue;
   "2.1";
   "2.2";
  }
 }
 "cluster_2" -> "1.1";
 "cluster_2" -> "1.2";
}
</CD>

This are small graphs and the output is generated but when you have a lot of cluster with more edges the fdp command return the error:

fdp: constraint.c:255: mkNConstraintG: Assertion `delta <= 0xFFFF' failed.
Abortado
Additional Information
I upload a complex .dot file that have this problem and fdp donÂŽt generate the graph. If you comment the code of the edges fdp generate the graph normally.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1429
INPUT-FILEhttp://www.graphviz.org/bugs/b1429.dot [^]
OUTPUT-FILEhttp://www.graphviz.org/bugs/b1429.txt [^]
STATUS-COMMENTFixed (22 Aug 2008)
VERSION     2.21.20080822.0445-1
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