From: Emden Gansner Date: Fri, 4 Nov 2011 22:04:32 +0000 (-0400) Subject: Make sure node size information gets transferred to the derived graph. X-Git-Tag: LAST_LIBGRAPH~32^2~612 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71c62604d654a1fb7fa2b4d41c1cd1b63705392d;p=graphviz Make sure node size information gets transferred to the derived graph. --- diff --git a/lib/circogen/circularinit.c b/lib/circogen/circularinit.c index f1f82f941..fd3678a90 100644 --- a/lib/circogen/circularinit.c +++ b/lib/circogen/circularinit.c @@ -89,10 +89,9 @@ static node_t *makeDerivedNode(graph_t * dg, char *name, int isNode, ND_alg(n) = (void *) NEW(cdata); if (isNode) { ND_pos(n) = N_NEW(Ndim, double); -#if 0 - ND_xsize(n) = ND_xsize((node_t *) orig); - ND_ysize(n) = ND_ysize((node_t *) orig); -#endif + ND_lw(n) = ND_lw((node_t *) orig); + ND_rw(n) = ND_rw((node_t *) orig); + ND_ht(n) = ND_ht((node_t *) orig); ORIGN(n) = (node_t *) orig; } else ORIGG(n) = (graph_t *) orig;