53 if ((subobj = objsearch(
sub, obj)))
81 if ((subobj = objsearch(g, obj))) {
82 rec_apply(g, subobj, fn, arg, objsearch, preorder != 0);
static void rec_apply(Agraph_t *g, Agobj_t *obj, agobjfn_t fn, void *arg, agobjsearchfn_t objsearch, bool preorder)
int agapply(Agraph_t *g, Agobj_t *obj, agobjfn_t fn, void *arg, int preorder)
static Agobj_t * subgraph_search(Agraph_t *sub, Agobj_t *g)
static Agobj_t * subedge_search(Agraph_t *sub, Agobj_t *e)
static Agobj_t * subnode_search(Agraph_t *sub, Agobj_t *n)
Agobj_t *(* agobjsearchfn_t)(Agraph_t *g, Agobj_t *obj)
Agedge_t * agsubedge(Agraph_t *g, Agedge_t *e, int createflag)
void agerrorf(const char *fmt,...)
void(* agobjfn_t)(Agraph_t *g, Agobj_t *obj, void *arg)
Agnode_t * agsubnode(Agraph_t *g, Agnode_t *n, int createflag)
Agraph_t * agraphof(void *obj)
#define AGTYPE(obj)
returns AGRAPH, AGNODE, or AGEDGE depending on the type of the object
Agraph_t * agfstsubg(Agraph_t *g)
Agraph_t * agnxtsubg(Agraph_t *subg)
a generic header of Agraph_s, Agnode_s and Agedge_s