#include "libgraph.h"
Include dependency graph for graphio.c:
Go to the source code of this file.
Data Structures | |
struct | printdict_t |
Functions | |
Agraph_t * | agread (FILE *fp) |
Agraph_t * | agmemread (char *cp) |
Agraph_t * | agread_usergets (FILE *fp, gets_f usergets) |
int | agerrors (void) |
char * | agstrcanon (char *arg, char *buf) |
char * | agcanonical (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 |
char* agcanonical | ( | char * | str | ) |
Definition at line 195 of file graphio.c.
References agstrcanon().
Referenced by agwrite(), agwrnode(), and write_plain().
int agerrors | ( | void | ) |
Definition at line 90 of file graphio.c.
References AG, and AG_s::syntax_errors.
Referenced by gvFreeContext().
Agraph_t* agmemread | ( | char * | cp | ) |
Definition at line 75 of file graphio.c.
References AG, aglexinit(), agparse(), and AG_s::parsed_g.
Referenced by readstring().
Agraph_t* agread | ( | FILE * | fp | ) |
Definition at line 68 of file graphio.c.
References AG, aglexinit(), agparse(), and AG_s::parsed_g.
Referenced by gvNextInputGraph(), main(), and read().
Definition at line 83 of file graphio.c.
References AG, aglexinit(), agparse(), and AG_s::parsed_g.
Referenced by gvNextInputGraph().
char* agstrcanon | ( | char * | arg, | |
char * | buf | |||
) |
Definition at line 324 of file graphio.c.
References AGFLAG_DIRECTED, agget(), Agedge_t::attr, Agdict_t::dict, dtsize(), Agproto_t::e, Agdata_t::edgeattr, FALSE, Agnode_t::graph, Agedge_t::head, HEADX, KEYX, Agraph_t::kind, Agdict_t::list, MUSTPRINT, Agnode_t::name, Agsym_t::name, Agsym_t::printed, Agedge_t::printkey, Agraph_t::proto, Agraph_t::root, Agedge_t::tail, TAILX, Agraph_t::univ, and Agsym_t::value.
int agwrite | ( | Agraph_t * | g, | |
FILE * | fp | |||
) |
Definition at line 495 of file graphio.c.
References AG_IS_DIRECTED, AG_IS_STRICT, agcanonical(), Agdata_t::edgeattr, Agdata_t::globattr, Agraph_t::name, Agdata_t::nodeattr, and Agraph_t::univ.
Definition at line 259 of file graphio.c.
References agcanonical(), agfstin(), agfstout(), agget(), Agdict_t::dict, dtsize(), FALSE, Agnode_t::graph, Agdict_t::list, Agproto_t::n, Agsym_t::name, Agnode_t::name, Agdata_t::nodeattr, NULL, Agsym_t::printed, Agraph_t::proto, TRUE, Agraph_t::univ, and Agsym_t::value.