dwave_networkx.pegasus_coordinates.graph_to_linear# pegasus_coordinates.graph_to_linear(g)[source]# Returns a copy of the graph g relabeled to have linear indices. Parameters: g (NetworkX Graph) – The Pegasus graph to be relabeled. Returns: G – A Pegasus graph relabeled with linear indices. Return type: NetworkX Graph