Add flag to indicate using the new ranking algorithm.
authorEmden Gansner <erg@research.att.com>
Thu, 10 Nov 2011 19:52:39 +0000 (14:52 -0500)
committerEmden Gansner <erg@research.att.com>
Thu, 10 Nov 2011 19:52:39 +0000 (14:52 -0500)
lib/common/const.h

index d2e5937bfa632acf7d0f2bb0ca6eebc1554f375c..befff90e93abb286f3ec730046793ace5cc61764 100644 (file)
 #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)
 #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 */