cn = agnode(agroot(cg), agxbuse(xb));
#else
cn = agnode(agroot(cg), agxbuse(xb), 1);
- agbindrec(cn, "Agnodeinfo_t", sizeof(Agnodeinfo_t), TRUE); //node custom data
+ agbindrec(cn, "Agnodeinfo_t", sizeof(Agnodeinfo_t), TRUE);
#endif /* WITH_CGRAPH */
SET_CLUST_NODE(cn);
clg = agsubg(g, "__clusternodes");
#else /* WITH_CGRAPH */
clg = agsubg(g, "__clusternodes",1);
- agbindrec(clg, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE); //node custom data
+ agbindrec(clg, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE);
#endif /* WITH_CGRAPH */
agxbinit(&xb, SMALLBUF, buf);
for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
nn = agnode(g, name);
#else /* WITH_CGRAPH */
nn = agnode(g, name, 1);
- agbindrec(nn, "Agnodeinfo_t", sizeof(Agnodeinfo_t), TRUE); //node custom data
+ agbindrec(nn, "Agnodeinfo_t", sizeof(Agnodeinfo_t), TRUE);
#endif /* WITH_CGRAPH */
/* Set all attributes to default */
clg = agsubg(g, "__clusternodes");
#else /* WITH_CGRAPH */
clg = agsubg(g, "__clusternodes",1);
- agbindrec(clg, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE); //node custom data
+ agbindrec(clg, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE);
#endif /* WITH_CGRAPH */
for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
for (e = agfstout(g, n); e; e = agnxtout(g, e)) {