From: erg Date: Thu, 16 Oct 2008 17:05:36 +0000 (+0000) Subject: Add overlap_scaling attribute for sfdp; X-Git-Tag: LAST_LIBGRAPH~32^2~3094 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=753ebd2fa0f598076618fdd484e3b5027617111d;p=graphviz Add overlap_scaling attribute for sfdp; rename overlap=fdp to overlap=prism --- diff --git a/lib/neatogen/adjust.c b/lib/neatogen/adjust.c index df3b078d9..7730779c9 100644 --- a/lib/neatogen/adjust.c +++ b/lib/neatogen/adjust.c @@ -780,7 +780,7 @@ static adjust_data adjustMode[] = { {AM_COMPRESS, "compress", "compress"}, {AM_VPSC, "vpsc", "vpsc"}, {AM_IPSEP, "ipsep", "ipsep"}, - {AM_FDP, "fdp", "fdp"}, + {AM_PRISM, "prism", "prism"}, {AM_NONE, 0, 0} }; @@ -863,7 +863,7 @@ removeOverlapAs(graph_t * G, char* flag) ret = scAdjust(G, -1); break; #if ((HAVE_GTS || HAVE_TRIANGLE) && SFDP) - case AM_FDP: + case AM_PRISM: ret = fdpAdjust(G); break; #endif diff --git a/lib/neatogen/adjust.h b/lib/neatogen/adjust.h index f356d5f89..6559fb17c 100644 --- a/lib/neatogen/adjust.h +++ b/lib/neatogen/adjust.h @@ -32,7 +32,7 @@ typedef enum { AM_SCALE, AM_NSCALE, AM_SCALEXY, AM_PUSH, AM_PUSHPULL, AM_ORTHO, AM_ORTHO_YX, AM_ORTHOXY, AM_ORTHOYX, AM_PORTHO, AM_PORTHO_YX, AM_PORTHOXY, AM_PORTHOYX, AM_COMPRESS, - AM_VPSC, AM_IPSEP, AM_FDP + AM_VPSC, AM_IPSEP, AM_PRISM } adjust_mode; typedef struct {