From: Emden R. Gansner Date: Thu, 27 Mar 2014 15:31:18 +0000 (-0400) Subject: For now, punt on handling packing with non-trivial ratio attribute. X-Git-Tag: 2.38.0~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2555ff951588f06e5a008461627c4087a9f5a41;p=graphviz For now, punt on handling packing with non-trivial ratio attribute. --- diff --git a/lib/dotgen/dotinit.c b/lib/dotgen/dotinit.c index 5be5a0f75..1478535af 100644 --- a/lib/dotgen/dotinit.c +++ b/lib/dotgen/dotinit.c @@ -422,6 +422,12 @@ static void doDot (Agraph_t* g) packSubgraphs(ncc, ccs, g, &pinfo); resetCoord (g); } else { + /* Not sure what semantics should be for non-trivial ratio + * attribute with multiple components. + * One possibility is to layout nodes, pack, then apply the ratio + * adjustment. We would then have to re-adjust all positions. + */ + dotLayout(g); } for (i = 0; i < ncc; i++) {