From: Emden Gansner Date: Mon, 23 May 2016 17:44:57 +0000 (-0400) Subject: Update debugging print to reflect use of cgraph library. X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3615dcfc472dec1fa535af039976727fdda26ca0;p=graphviz Update debugging print to reflect use of cgraph library. --- diff --git a/lib/fdpgen/tlayout.c b/lib/fdpgen/tlayout.c index ddda418cd..96b809880 100644 --- a/lib/fdpgen/tlayout.c +++ b/lib/fdpgen/tlayout.c @@ -559,13 +559,13 @@ static pointf initPositions(graph_t * g, bport_t * pp) * TODO: place unfixed points using adjacent ports or fixed pts. */ if (pp) { -/* fprintf (stderr, "initPos %s ctr (%g,%g) Wd %g Ht %g\n", g->name, ctr.x, ctr.y, Wd, Ht); */ +/* fprintf (stderr, "initPos %s ctr (%g,%g) Wd %g Ht %g\n", agnameof(g), ctr.x, ctr.y, T_Wd, T_Ht); */ while (pp->e) { /* position ports on ellipse */ np = pp->n; ND_pos(np)[0] = T_Wd * cos(pp->alpha) + ctr.x; ND_pos(np)[1] = T_Ht * sin(pp->alpha) + ctr.y; ND_pinned(np) = P_SET; -/* fprintf (stderr, "%s pt (%g,%g) %g\n", np->name, ND_pos(np)[0], ND_pos(np)[1], pp->alpha); */ +/* fprintf (stderr, "%s pt (%g,%g) %g\n", agnameof(np), ND_pos(np)[0], ND_pos(np)[1], pp->alpha); */ pp++; } for (np = agfstnode(g); np; np = agnxtnode(g, np)) {