next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
NautyGraphs :: graph6ToSparse6

graph6ToSparse6 -- converts a Graph6 string to a Sparse6 string

Synopsis

Description

This method converts a graph stored in nauty’s Graph6 format to a graph stored in nauty’s Sparse6 format. For graphs with very few edges, the Sparse6 format can use dramatically less space. However, for graphs with many edges, the Sparse6 format can increase the storage requirements.

i1 : graph6ToSparse6 "Dhc"

o1 = :DaY_~
i2 : graph6ToSparse6 "M????????????????"

o2 = :M

See also

Ways to use graph6ToSparse6 :