|
Defines |
| #define | _GRAPH_H 1 |
| #define | TAIL_ID "tailport" |
| #define | TAILSUB_ID "_tailsubport" |
| #define | HEAD_ID "headport" |
| #define | HEADSUB_ID "_headsubport" |
| #define | AGFLAG_DIRECTED (1<<0) |
| #define | AGFLAG_STRICT (1<<1) |
| #define | AGFLAG_METAGRAPH (1<<2) |
| #define | AGRAPH 0 |
| #define | AGRAPHSTRICT (AGRAPH | AGFLAG_STRICT) |
| #define | AGDIGRAPH AGFLAG_DIRECTED |
| #define | AGDIGRAPHSTRICT (AGDIGRAPH | AGFLAG_STRICT) |
| #define | AGMETAGRAPH (AGFLAG_DIRECTED | AGFLAG_STRICT | AGFLAG_METAGRAPH) |
| #define | AG_IS_DIRECTED(g) ((g)->kind & AGFLAG_DIRECTED) |
| #define | AG_IS_STRICT(g) ((g)->kind & AGFLAG_STRICT) |
| #define | AG_IS_METAGRAPH(g) ((g)->kind & AGFLAG_METAGRAPH) |
| #define | aginit() aginitlib(sizeof(Agraph_t),sizeof(Agnode_t),sizeof(Agedge_t)) |
| #define | agobjkind(p) ((agobjkind_t)(((Agraph_t*)(p))->tag)) |
| #define | agmetanode(g) ((g)->meta_node) |
Typedefs |
| typedef Agraph_t | Agraph_t |
| typedef Agnode_t | Agnode_t |
| typedef Agedge_t | Agedge_t |
| typedef Agdict_t | Agdict_t |
| typedef Agsym_t | Agsym_t |
| typedef Agdata_t | Agdata_t |
| typedef Agproto_t | Agproto_t |
| typedef char *(* | gets_f )(char *ubuf, int n, FILE *fp) |
Enumerations |
| enum | agerrlevel_t { AGWARN,
AGERR,
AGMAX,
AGPREV
} |
| enum | agobjkind_t { AGNODE = 1,
AGEDGE,
AGGRAPH
} |
Functions |
| char * | agstrcanon (char *, char *) |
| int | aghtmlstr (char *s) |
| char * | agget (void *, char *) |
| char * | agxget (void *, int) |
| int | agset (void *, char *, char *) |
| int | agxset (void *, int, char *) |
| int | agindex (void *, char *) |
| void | aginitlib (int, int, int) |
| Agraph_t * | agopen (char *, int) |
| Agraph_t * | agsubg (Agraph_t *, char *) |
| Agraph_t * | agfindsubg (Agraph_t *, char *) |
| void | agclose (Agraph_t *) |
| Agraph_t * | agread (FILE *) |
| Agraph_t * | agread_usergets (FILE *, gets_f) |
| void | agreadline (int) |
| void | agsetfile (char *) |
| Agraph_t * | agmemread (char *) |
| int | agwrite (Agraph_t *, FILE *) |
| int | agerrors (void) |
| Agraph_t * | agprotograph () |
| Agraph_t * | agusergraph (Agnode_t *) |
| int | agnnodes (Agraph_t *) |
| int | agnedges (Agraph_t *) |
| void | aginsert (Agraph_t *, void *) |
| void | agdelete (Agraph_t *, void *) |
| int | agcontains (Agraph_t *, void *) |
| Agnode_t * | agnode (Agraph_t *, char *) |
| Agsym_t * | agnodeattr (Agraph_t *, char *, char *) |
| Agnode_t * | agfindnode (Agraph_t *, char *) |
| Agnode_t * | agfstnode (Agraph_t *) |
| Agnode_t * | agnxtnode (Agraph_t *, Agnode_t *) |
| Agnode_t * | aglstnode (Agraph_t *) |
| Agnode_t * | agprvnode (Agraph_t *, Agnode_t *) |
| Agedge_t * | agedge (Agraph_t *, Agnode_t *, Agnode_t *) |
| Agsym_t * | agedgeattr (Agraph_t *, char *, char *) |
| Agedge_t * | agfindedge (Agraph_t *, Agnode_t *, Agnode_t *) |
| Agedge_t * | agfstedge (Agraph_t *, Agnode_t *) |
| Agedge_t * | agnxtedge (Agraph_t *, Agedge_t *, Agnode_t *) |
| Agedge_t * | agfstin (Agraph_t *, Agnode_t *) |
| Agedge_t * | agnxtin (Agraph_t *, Agedge_t *) |
| Agedge_t * | agfstout (Agraph_t *, Agnode_t *) |
| Agedge_t * | agnxtout (Agraph_t *, Agedge_t *) |
| Agsym_t * | agraphattr (Agraph_t *, char *, char *) |
| Agsym_t * | agfindattr (void *, char *) |
| void | agseterr (agerrlevel_t) |
| char * | aglasterr () |
| int | agerr (agerrlevel_t level, char *fmt,...) |
| void | agerrorf (char *fmt,...) |
| void | agwarningf (char *fmt,...) |
Variables |
| agerrlevel_t | agerrno |