Module graph6

Source
Expand description

Traits related to graph6 format for undirected graphs.

Traits§

FromGraph6
A graph that can be converted from graph6 format string.
ToGraph6
A graph that can be converted to graph6 format string.

Functions§

from_graph6_representation
Converts a graph6 format string into data can be used to construct an undirected graph. Returns a tuple containing the graph order and its edges.
get_graph6_representation
Converts a graph that implements GetAdjacencyMatrix and IntoNodeIdentifers into a graph6 format string.