SparseGraph6¶
Functions for reading and writing graphs in the graph6 or sparse6 file formats.
According to the author of these formats,
graph6 and sparse6 are formats for storing undirected graphs in a compact manner, using only printable ASCII characters. Files in these formats have text type and contain one line per graph.
graph6 is suitable for small graphs, or large dense graphs. sparse6 is more spaceefficient for large sparse graphs.
Graph6¶
Functions for reading and writing graphs in the graph6 format.
The graph6 file format is suitable for small graphs or large dense graphs. For large sparse graphs, use the sparse6 format.
For more information, see the graph6 homepage.

Read a simple undirected graph in graph6 format from string. 

Read simple undirected graphs in graph6 format from path. 

Convert a simple undirected graph to bytes in graph6 format. 

Write a simple undirected graph to a path in graph6 format. 
Sparse6¶
Functions for reading and writing graphs in the sparse6 format.
The sparse6 file format is a spaceefficient format for large sparse graphs. For small graphs or large dense graphs, use the graph6 file format.
For more information, see the sparse6 homepage.

Read an undirected graph in sparse6 format from string. 

Read an undirected graph in sparse6 format from path. 

Convert an undirected graph to bytes in sparse6 format. 

Write graph G to given path in sparse6 format. 