Skip to main content

Module io

Module io 

Source
Expand description

File I/O for graphs.

Structs§

DimacsGraph
Result of reading a DIMACS file.
DlGraph
Result of reading a DL file.
DotGraph
Result of parsing a DOT file.
GraphmlGraph
Result of parsing a GraphML file.
LedaGraph
Result of reading a LEDA file.
LglGraph
Result of reading an LGL file: the graph plus optional metadata.
NcolGraph
Result of reading an NCOL file: the graph plus optional metadata.
PajekGraph
Result of reading a Pajek file.

Enums§

DimacsProblem
The type of DIMACS problem read from the file.

Functions§

read_dimacs
Read a graph from DIMACS flow/edge format.
read_dl
Read a graph from UCINET DL format.
read_dot
Read a graph from DOT (Graphviz) format.
read_edgelist
Read an edge list from any Read into a fresh Graph.
read_gml
Read a graph from GML format.
read_graphdb
Read a graph from GraphDB binary format.
read_graphml
Read a graph from GraphML format.
read_leda
Read a graph from LEDA native graph format.
read_lgl
Read a graph from LGL (.lgl) format.
read_ncol
Read a graph from NCOL (.ncol) format.
read_pajek
Read a graph from Pajek (.net) format.
write_dimacs_flow
Write a graph in DIMACS max-flow format.
write_dl
Write a graph in UCINET DL edgelist1 format.
write_dot
Write a graph in DOT (Graphviz) format.
write_edgelist
Write a graph as an edge list.
write_gml
Write a graph in GML format, including attributes.
write_graphml
Write a graph in GraphML format, including attributes.
write_leda
Write a graph in LEDA native graph format.
write_lgl
Write a graph in LGL format.
write_ncol
Write a graph in NCOL format.
write_pajek
Write a graph in Pajek (.net) format.