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.
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_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_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_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.
write_graphml
Write a graph in GraphML format.
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.