//------------------------------------------------- char *getv(Agedge_t *e, Agsym_t *a) { if (!e || !a) return NULL; if (AGTYPE(e) == AGRAPH) // protoedge return NULL; // FIXME ?? return myagxget(e, a); }
//------------------------------------------------- char *getv(Agnode_t *n, Agsym_t *a) { if (!n || !a) return NULL; if (AGTYPE(n) == AGRAPH) // protonode return NULL; // FIXME ?? return myagxget(n, a); }
char *getv(Agraph_t *g, char *attr) { Agsym_t *a; if (!g || !attr) return NULL; a = agfindattr(g->root, attr); return myagxget(g, a); }
char *getv(Agedge_t *e, char *attr) { Agraph_t *g; Agsym_t *a; if (!e || !attr) return NULL; g = e->tail->graph; a = agfindattr(g->proto->e, attr); return myagxget(e, a); }
char *getv(Agnode_t *n, char *attr) { Agraph_t *g; Agsym_t *a; if (!n || !attr) return NULL; g = n->graph->root; a = agfindattr(g->proto->n, attr); return myagxget(n, a); }
char *getv(Agedge_t *e, char *attr) { Agraph_t *g; Agsym_t *a; if (!e || !attr) return NULL; if (AGTYPE(e) == AGRAPH) // protoedge return NULL; // FIXME ?? g = agraphof(agtail(e)); a = agattr(g, AGEDGE, attr, NULL); return myagxget(e, a); }
char *getv(Agnode_t *n, char *attr) { Agraph_t *g; Agsym_t *a; if (!n || !attr) return NULL; if (AGTYPE(n) == AGRAPH) // protonode return NULL; // FIXME ?? g = agroot(agraphof(n)); a = agattr(g, AGNODE, attr, NULL); return myagxget(n, a); }
//------------------------------------------------- char *getv(Agedge_t *e, Agsym_t *a) { return myagxget(e, a); }
//------------------------------------------------- char *getv(Agnode_t *n, Agsym_t *a) { return myagxget(n, a); }
char *getv(Agraph_t *g, Agsym_t *a) { return myagxget(g, a); }