Statistics
| Branch: | Revision:

iof-tools / networkxMiCe / networkx-master / doc / reference / readwrite / sparsegraph6.rst @ 5cef0f13

History | View | Annotate | Download (964 Bytes)

1
SparseGraph6
2
============
3

    
4
Functions for reading and writing graphs in the *graph6* or *sparse6* file
5
formats.
6

    
7
According to the author of these formats,
8

    
9
    *graph6* and *sparse6* are formats for storing undirected graphs in a
10
    compact manner, using only printable ASCII characters. Files in these
11
    formats have text type and contain one line per graph.
12

    
13
    *graph6* is suitable for small graphs, or large dense graphs. *sparse6* is
14
    more space-efficient for large sparse graphs.
15

    
16
    -- `graph6 and sparse6 homepage`_
17

    
18
.. _graph6 and sparse6 homepage: http://users.cecs.anu.edu.au/~bdm/data/formats.html
19

    
20
Graph6
21
------
22
.. automodule:: networkx.readwrite.graph6
23
.. autosummary::
24
   :toctree: generated/
25

    
26
   from_graph6_bytes
27
   read_graph6
28
   to_graph6_bytes
29
   write_graph6
30

    
31
Sparse6
32
-------
33
.. automodule:: networkx.readwrite.sparse6
34
.. autosummary::
35
   :toctree: generated/
36

    
37
   from_sparse6_bytes
38
   read_sparse6
39
   to_sparse6_bytes
40
   write_sparse6