Function traitgraph::io::write_topology [−][src]
pub fn write_topology<Graph: StaticGraph, Writer: Write>(
graph: &Graph,
writer: &mut Writer
)
Expand description
Write the graph in the following format, ignoring node and edge data.
<node count> <edge count>
<from node> <to node>
The second line is repeated for each edge.