From: Emden R. Gansner Date: Wed, 11 Sep 2013 00:46:32 +0000 (-0400) Subject: Turn off aspect attribute in dot until it can be fixed X-Git-Tag: LAST_LIBGRAPH~32^2~8^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d12f31790618bb38919afc94f3201278af47774b;p=graphviz Turn off aspect attribute in dot until it can be fixed --- diff --git a/doc/info/attrs.html b/doc/info/attrs.html index 2d10f29ed..df1aae7a2 100644 --- a/doc/info/attrs.html +++ b/doc/info/attrs.html @@ -574,7 +574,11 @@ This field indicates which graph component uses the attribute. See the limitation.
aspect -
Target aspect ratio (width of the layout divided by the height) +
NOTE: As of 2.35 and until further notice, + dot will not support the aspect + attribute. There are some significant flaws in the implementation. +

+ Target aspect ratio (width of the layout divided by the height) of the graph drawing. If unset, dot minimizes the total edge length. For certain graphs, like those with large fan-in or fan-out, this can lead to very wide layouts. Setting aspect will cause dot to try diff --git a/doc/infosrc/attrs b/doc/infosrc/attrs index f6a775e97..88a76cfc4 100644 --- a/doc/infosrc/attrs +++ b/doc/infosrc/attrs @@ -93,6 +93,10 @@ This will only appear if the dir attribute is "back" or "both". See the limitation. :aspect:G:aspectType; dot +NOTE: As of 2.35 and until further notice, +dot will not support the aspect +attribute. There are some significant flaws in the implementation. +

Target aspect ratio (width of the layout divided by the height) of the graph drawing. If unset, dot minimizes the total edge length. For certain graphs, like those with large fan-in or fan-out, this can diff --git a/lib/dotgen/aspect.c b/lib/dotgen/aspect.c index c55533ea6..7fe895d27 100644 --- a/lib/dotgen/aspect.c +++ b/lib/dotgen/aspect.c @@ -1988,6 +1988,7 @@ setAspect (Agraph_t * g, aspect_t* adata) adata->badGraph = 0; return NULL; } + agerr(AGWARN, "The aspect attribute is currently disabled in dot - ignored\n"); if (rv < MIN_AR) rv = MIN_AR; else if (rv > MAX_AR) rv = MAX_AR;