Macaulay2 » Documentation
Packages » NautyGraphs :: sparse6ToGraph6
next | previous | forward | backward | up | index | toc

sparse6ToGraph6 -- converts a Sparse6 string to a Graph6 string

Synopsis

Description

This method converts a graph stored in nauty's Sparse6 format to a graph stored in nauty's Graph6 format. The Graph6 format has the benefit of being a constant length dependent only on the number of vertices.

i1 : sparse6ToGraph6 ":DaY_~"

o1 = Dhc
i2 : sparse6ToGraph6 ":M"

o2 = M????????????????

See also

Ways to use sparse6ToGraph6 :

For the programmer

The object sparse6ToGraph6 is a method function.