| igraph Reference Manual |
|---|
int igraph_write_graph_graphml(const igraph_t *graph, FILE *outstream);
GraphML is an XML-based file format for representing various types of graphs. See the GraphML Primer (http://graphml.graphdrawing.org/primer/graphml-primer.html) for detailed format description.
Arguments:
|
The graph to write. |
|
The stream object to write to, it should be writable. |
Returns:
Error code:
|
Time complexity: O(|V|+|E|) otherwise. All file operations are expected to have time complexity O(1).
<< 3.1. igraph_read_graph_graphml — Reads a graph from a GraphML file. |
4. GML format >> |