EXTERN int CL_type; /* NONE, LOCAL, GLOBAL */
EXTERN bool Concentrate; /* if parallel edges should be merged */
EXTERN double Epsilon; /* defined in input_graph */
- EXTERN double Nodesep;
- EXTERN double Nodefactor;
EXTERN int MaxIter;
EXTERN int Ndim;
EXTERN int State; /* last finished phase */
EXTERN int Y_invert; /* invert y in dot & plain output */
EXTERN int Y_off; /* ymin + ymax */
EXTERN double YF_off; /* Y_off in inches */
- EXTERN attrsym_t *g_draw;
- EXTERN attrsym_t *g_l_draw;
EXTERN attrsym_t
*G_activepencolor, *G_activefillcolor,
GD_drawing(g)->filled =
getdoubles2pt(g, "size", &(GD_drawing(g)->size));
getdoubles2pt(g, "page", &(GD_drawing(g)->page));
- getdouble(g, "nodesep", &Nodesep);
- getdouble(g, "nodefactor", &Nodefactor);
GD_drawing(g)->centered = mapbool(agget(g, "center"));
#endif
do_graph_label(g);
- Nodesep = 1.0;
- Nodefactor = 1.0;
Initial_dist = MYHUGE;
/* initialize nodes */
&xbuf4, &xbuf5,
};
static Agraph_t *cluster_g;
+static attrsym_t *g_draw;
+static attrsym_t *g_l_draw;
static int isInvis(char *style)
{
agsafeset (g, "xdotversion", XDOTVERSION, "");
if (GD_has_labels(g) & GRAPH_LABEL)
g_l_draw = safe_dcl(g, g, "_ldraw_", "", agraphattr);
+ else
+ g_l_draw = NULL;
if (GD_n_cluster(g))
g_draw = safe_dcl(g, g, "_draw_", "", agraphattr);
+ else
+ g_draw = NULL;
n_draw = safe_dcl(g, g->proto->n, "_draw_", "", agnodeattr);
n_l_draw = safe_dcl(g, g->proto->n, "_ldraw_", "", agnodeattr);