From 96d1db9681369530d25c22fce4cf991291cfd1b4 Mon Sep 17 00:00:00 2001 From: Emden Gansner Date: Thu, 10 Nov 2011 14:52:39 -0500 Subject: [PATCH] Add flag to indicate using the new ranking algorithm. --- lib/common/const.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/common/const.h b/lib/common/const.h index d2e5937bf..befff90e9 100644 --- a/lib/common/const.h +++ b/lib/common/const.h @@ -216,6 +216,12 @@ #define LT_HTML (1 << 1) #define LT_RECD (2 << 1) +/* Flags stored in GD_flags + * Bit(s): 0 HAS_CLUSt_EDGE + * 1-3 ET_ + * 4 NEW_RANK + */ + /* edge types */ #define ET_NONE (0 << 1) #define ET_LINE (1 << 1) @@ -224,6 +230,10 @@ #define ET_SPLINE (4 << 1) #define ET_COMPOUND (5 << 1) +/* New ranking is used */ +#define NEW_RANK (1 << 4) +/******/ + /* user-specified node position: ND_pinned */ #define P_SET 1 /* position supplied by user */ #define P_FIX 2 /* position fixed during topological layout */ -- 2.50.1