Graphpass
0.0.2
A helper library for network filtering, analysis and visualization
|
Gexf writer for graphpass. More...
Go to the source code of this file.
Functions | |
int | igraph_i_xml_escape (char *src, char **dest) |
int | igraph_write_graph_gexf (const igraph_t *graph, FILE *outstream, igraph_bool_t prefixattr) |
Variables | |
int | errno |
Gexf writer for graphpass.
Because igraph does not have a gexf writer, we produced one based on the grapml writer. This writer has been submitted to igraph with the hopes that it will be added to the original library, in which case, this file will likely be deprecated.
int igraph_i_xml_escape | ( | char * | src, |
char ** | dest | ||
) |
Escapes invalid xml character (&, <, >, ") in attributes
int igraph_write_graph_gexf | ( | const igraph_t * | graph, |
FILE * | outstream, | ||
igraph_bool_t | prefixattr | ||
) |
Writes a GEXF file
GEXF provides great support for visualizations and is therefore used by a number of light-weight visualization tools like SigmaJS and Gephi.
graph | - the graph to write to gexf |
outstream | - a file object |
prefixattr | - if "true" will add prefixes to the gexf output. |