#if !defined(_WIN32)
#include <pwd.h>
-#if 0
-static void cleanup(void)
-{
- agxbfree(&xb);
-}
-#endif
#endif
/* Fgets:
/* this caching seems to prevent p.x from getting set from bz.list[0].x
- optimizer problem ? */
-#if 0
- static splines *mem = NULL;
-
- if (mem != spl) {
- mem = spl;
-#endif
for (i = 0; i < spl->size; i++) {
bz = spl->list[i];
if (BETWEEN(bz.list[bz.size - 1].y, y, bz.list[0].y))
break;
}
-#if 0
- }
-#endif
if (y > bz.list[0].y)
p = bz.list[0];
else if (y < bz.list[bz.size - 1].y)
SET_CLUST_NODE(cn);
agsubnode(cg,cn,1);
- //aginsert(cg, cn);
agsubnode(clg,n,1);
- //aginsert(clg, n);
/* set attributes */
N_label = setAttr(agraphof(cn), cn, "label", "", N_label);
N_style = setAttr(agraphof(cn), cn, "style", "invis", N_style);
N_shape = setAttr(agraphof(cn), cn, "shape", "box", N_shape);
- /* N_width = setAttr (cn->graph, cn, "width", "0.0001", N_width); */
return cn;
}
else
return NULL;
}
-
-/* void dumpG(Agraph_t* g) { agwrite(g, stderr); } */