NetworkX

Previous topic

networkx.write_yaml

Next topic

networkx.read_graph6

Quick search

SparseGraph6ΒΆ

Read graphs in graph6 and sparse6 format. See http://cs.anu.edu.au/~bdm/data/formats.txt

read_graph6 (path) Read simple undirected graphs in graph6 format from path. Returns a single Graph.
parse_graph6 (str) Read undirected graph in graph6 format.
read_graph6_list (path) Read simple undirected graphs in graph6 format from path. Returns a list of Graphs, one for each line in file.
read_sparse6 (path) Read simple undirected graphs in sparse6 format from path. Returns a single Graph.
parse_sparse6 (str) Read undirected graph in sparse6 format.
read_sparse6_list (path) Read simple undirected graphs in sparse6 format from path. Returns a list of Graphs, one for each line in file.