52 if ((subobj = objsearch(sub, obj)))
53 rec_apply(sub, subobj, fn, arg, objsearch, preorder);
69 objsearch = subgraph_search;
72 objsearch = subnode_search;
76 objsearch = subedge_search;
83 if ((subobj = objsearch(g, obj))) {
84 rec_apply(g, subobj, fn, arg, objsearch, preorder);
Agobj_t *(* agobjsearchfn_t)(Agraph_t *g, Agobj_t *obj)
int agerr(agerrlevel_t level, const char *fmt,...)
CGRAPH_API Agraph_t * agfstsubg(Agraph_t *g)
CGRAPH_API Agraph_t * agraphof(void *obj)
CGRAPH_API Agraph_t * agnxtsubg(Agraph_t *subg)
CGRAPH_API Agedge_t * agsubedge(Agraph_t *g, Agedge_t *e, int createflag)
int agapply(Agraph_t *g, Agobj_t *obj, agobjfn_t fn, void *arg, int preorder)
CGRAPH_API Agnode_t * agsubnode(Agraph_t *g, Agnode_t *n, int createflag)
void(* agobjfn_t)(Agraph_t *g, Agobj_t *obj, void *arg)