[Dot] more cluster wrongness
Ported Issue from Mantis Original ID: 79 Reported By: Stephen C. North
SEVERITY: MAJOR Submitted: 2002-07-10 03:33:18
OS: X86-LINUX-REDHAT 7.2
VERSION: 1.8.5 OR SO
DESCRIPTION
Cluster minrank and maxrank and the rankleader array's indexing aren't handled consistently, causing much potential woe.
STEPS TO REPRODUCE
digraph G { graph [style=invis]; bla; subgraph cluster_X { ratio=compress; subgraph cluster0 { graph [style=invis]; a -> b -> {c0 c1}; {rank=sink max_of_cluster0 [color=transparent,shape=point]}; }
subgraph cluster1 {
graph [style=invis];
x -> y -> {z0 z1};
{rank=source min_of_cluster1 [color=transparent,shape=point]};
}
graph [compound=true];
max_of_cluster0 -> min_of_cluster1
[ltail=cluster0, lhead=cluster1, style=invis, weight=0];
}
}
ADDITIONAL INFORMATION
cluster_leader() shouldn't assume that minrank=0. But eveb if you fix that in the obvious way there are other problems.
Edited by Matthew Fernandez