bb.UR.y += p.y;
EXPANDBB(rootbb, bb);
if (j < GD_n_cluster(g)) {
- subg = (Agraph_t*)children[j];
+ subg = children[j];
GD_bb(subg) = bb;
if (Verbose > 1) {
indent (depth);
}
}
else {
- n = (Agnode_t*)children[j];
+ n = children[j];
ND_coord(n) = mid_pointf (bb.LL, bb.UR);
if (Verbose > 1) {
indent (depth);
*/
for (j = 0; j < total; j++) {
if (j < GD_n_cluster(g)) {
- subg = (Agraph_t*)children[j];
+ subg = children[j];
bb = GD_bb(subg);
bb.LL = sub_pointf(bb.LL, rootbb.LL);
bb.UR = sub_pointf(bb.UR, rootbb.LL);
}
}
else {
- n = (Agnode_t*)children[j];
+ n = children[j];
ND_coord(n) = sub_pointf (ND_coord(n), rootbb.LL);
if (Verbose > 1) {
indent (depth);