pub fn graph6_encode<G>(graph: &G) -> Result<String>where
G: IndexUndirectedGraphView,Expand description
Encodes a compact simple undirected graph in Graph6 form.
ยงErrors
Returns an error for non-compact indexes, loops, parallel edges, or capacity overflow because Graph6 cannot represent those contracts.