|
Graphviz
2.29.20120524.0446
|
#include "libgraph.h"
Go to the source code of this file.
Data Structures | |
| struct | printdict_t |
Typedefs | |
| typedef struct printdict_t | printdict_t |
Functions | |
| Agraph_t * | agread (FILE *fp) |
| Agraph_t * | agmemread (char *cp) |
| Agraph_t * | agread_usergets (FILE *fp, gets_f usergets) |
| char * | agstrcanon (char *arg, char *buf) |
| void | agsetiodisc (char *(*myfgets)(char *s, int size, FILE *stream), size_t(*myfwrite)(const void *ptr, size_t size, size_t nmemb, FILE *stream), int(*myferror)(FILE *stream)) |
| int | agputs (const char *s, FILE *fp) |
| int | agputc (int c, FILE *fp) |
| char * | agcanonical (char *str) |
| char * | agcanon (char *str) |
| void | agwrnode (Agraph_t *g, FILE *fp, Agnode_t *n, int full, int indent) |
| void | agwredge (Agraph_t *g, FILE *fp, Agedge_t *e, int list_all) |
| int | agwrite (Agraph_t *g, FILE *fp) |
Variables | |
| Dtdisc_t | agEdgedisc |
| typedef struct printdict_t printdict_t |
| char* agcanonical | ( | char * | str | ) |
Definition at line 270 of file graphio.c.
References agstrcanon().
Referenced by agwrnode(), and agwrite().
| Agraph_t* agmemread | ( | char * | cp | ) |
Definition at line 80 of file graphio.c.
References AG, AG_s::fgets, aglexinit(), NULL, agparse(), and AG_s::parsed_g.
Referenced by readstring().
| int agputc | ( | int | c, |
| FILE * | fp | ||
| ) |
Definition at line 233 of file graphio.c.
References AG, and AG_s::fwrite.
Referenced by write_plain(), and agwrite().
| int agputs | ( | const char * | s, |
| FILE * | fp | ||
| ) |
Definition at line 223 of file graphio.c.
References AG, and AG_s::fwrite.
Referenced by write_plain(), agwrnode(), agwredge(), and agwrite().
| Agraph_t* agread | ( | FILE * | fp | ) |
Definition at line 72 of file graphio.c.
References aglexinit(), NULL, agparse(), AG, and AG_s::parsed_g.
Referenced by gvNextInputGraph(), main(), and read().
Definition at line 93 of file graphio.c.
References AG, AG_s::fgets, aglexinit(), NULL, agparse(), and AG_s::parsed_g.
Referenced by gvNextInputGraph().
| void agsetiodisc | ( | char *(*)(char *s, int size, FILE *stream) | myfgets, |
| size_t(*)(const void *ptr, size_t size, size_t nmemb, FILE *stream) | myfwrite, | ||
| int(*)(FILE *stream) | myferror | ||
| ) |
Definition at line 208 of file graphio.c.
References AG, AG_s::fgets, AG_s::fwrite, and AG_s::ferror.
Referenced by gvplugin_graph().
| char* agstrcanon | ( | char * | arg, |
| char * | buf | ||
| ) |
Definition at line 421 of file graphio.c.
References Agedge_t::tail, Agnode_t::graph, Agraph_t::univ, Agdata_t::edgeattr, Agedge_t::attr, TAILX, HEADX, Agnode_t::name, agputs(), Agraph_t::kind, AGFLAG_DIRECTED, Agedge_t::head, dtsize(), Agdict_t::dict, Agdict_t::list, Agsym_t::printed, FALSE, KEYX, Agedge_t::printkey, MUSTPRINT, agget(), Agsym_t::name, Agraph_t::root, Agsym_t::value, Agraph_t::proto, and Agproto_t::e.
| int agwrite | ( | Agraph_t * | g, |
| FILE * | fp | ||
| ) |
Definition at line 604 of file graphio.c.
References AG, AG_s::fwrite, NULL, AG_s::ferror, agputs(), AG_IS_STRICT, AG_IS_DIRECTED, Agraph_t::name, agputc(), agcanonical(), Agraph_t::univ, Agdata_t::globattr, Agdata_t::nodeattr, and Agdata_t::edgeattr.
Definition at line 353 of file graphio.c.
References FALSE, Agnode_t::graph, Agraph_t::univ, Agdata_t::nodeattr, dtsize(), Agdict_t::dict, Agdict_t::list, Agsym_t::printed, agget(), Agsym_t::name, Agsym_t::value, Agraph_t::proto, Agproto_t::n, agputs(), agcanonical(), Agnode_t::name, TRUE, agfstout(), NULL, and agfstin().
1.7.5