Return a copy of the graph G with the nodes relabeled with integers.
Parameters : | G : graph
first_label : int, optional (default=0)
ordering : string
label_attribute : string, optional (default=None)
|
---|
See also
Notes
Node and edge attribute data are copied to the new (relabeled) graph.