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????????????????
|