104 fn(g, obj, cbstack->
state);
135 fn(g, obj, cbstack->
state, sym);
166 fn(g, obj, cbstack->
state);
174 return ((
Agedge_t *) obj)->node->root;
190 return ((
Agedge_t *) obj)->node->root;
208 stack_ent->
state = state;
219 if (stack_ent->
f == cbd)
222 while (stack_ent && (stack_ent->
prev->
f != cbd))
223 stack_ent = stack_ent->
prev;
224 if (stack_ent && stack_ent->
prev)
239 for (stack_ent = g->
clos->
cb; stack_ent; stack_ent = stack_ent->
prev)
240 if (stack_ent->
f == cbd)
241 return stack_ent->
state;
254 if (subg == g)
return 1;
CGRAPH_API int agdeledge(Agraph_t *g, Agedge_t *arg_e)
void(* agobjupdfn_t)(Agraph_t *g, Agobj_t *obj, void *arg, Agsym_t *sym)
CGRAPH_API int agobjkind(void *)
void agdelcb(Agraph_t *g, void *obj, Agcbstack_t *disc)
CGRAPH_API int agdelnode(Agraph_t *g, Agnode_t *arg_n)
int agmapnametoid(Agraph_t *g, int objtype, char *str, IDTYPE *result, int allocflag)
struct Agcbdisc_s::@2 edge
CGRAPH_API Agraph_t * agidsubg(Agraph_t *g, IDTYPE id, int cflag)
CGRAPH_API void agpushdisc(Agraph_t *g, Agcbdisc_t *disc, void *state)
void * aggetuserptr(Agraph_t *g, Agcbdisc_t *cbd)
CGRAPH_API int agdelete(Agraph_t *g, void *obj)
int agerr(agerrlevel_t level, const char *fmt,...)
unsigned char callbacks_enabled
CGRAPH_API int agcontains(Agraph_t *, void *)
CGRAPH_API Agraph_t * agroot(void *obj)
CGRAPH_API void agfree(Agraph_t *g, void *ptr)
void agrecord_callback(Agraph_t *g, Agobj_t *obj, int kind, Agsym_t *optsym)
void aginitcb(Agraph_t *g, void *obj, Agcbstack_t *disc)
CGRAPH_API Agraph_t * agraphof(void *obj)
CGRAPH_API int agclose(Agraph_t *g)
CGRAPH_API Agraph_t * agparent(Agraph_t *g)
void agupdcb(Agraph_t *g, void *obj, Agsym_t *sym, Agcbstack_t *disc)
CGRAPH_API int agrelabel_node(Agnode_t *n, char *newname)
void agmethod_delete(Agraph_t *g, void *obj)
CGRAPH_API Agedge_t * agsubedge(Agraph_t *g, Agedge_t *e, int createflag)
void agfreeid(Agraph_t *g, int objtype, IDTYPE id)
void agmethod_init(Agraph_t *g, void *obj)
struct Agcbdisc_s::@2 graph
CGHDR_API int agrename(Agobj_t *obj, char *newname)
CGRAPH_API int agpopdisc(Agraph_t *g, Agcbdisc_t *disc)
struct Agcbdisc_s::@2 node
void agmethod_upd(Agraph_t *g, void *obj, Agsym_t *sym)
CGRAPH_API Agnode_t * agidnode(Agraph_t *g, IDTYPE id, int createflag)
void(* agobjfn_t)(Agraph_t *g, Agobj_t *obj, void *arg)