]> granicus.if.org Git - graphviz/commitdiff
For now, punt on handling packing with non-trivial ratio attribute.
authorEmden R. Gansner <erg@alum.mit.edu>
Thu, 27 Mar 2014 15:31:18 +0000 (11:31 -0400)
committerEmden R. Gansner <erg@alum.mit.edu>
Thu, 27 Mar 2014 15:31:18 +0000 (11:31 -0400)
lib/dotgen/dotinit.c

index 5be5a0f756ea0591dc444ac414e7fa22bc727b32..1478535af522351be3948ebeee8d27813cef0c94 100644 (file)
@@ -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++) {