11. Relabeling nodes¶
Contents
11.1. Relabeling¶
convert_node_labels_to_integers(G[, ...]) |
Return a copy of the graph G with the nodes relabeled using consecutive integers. |
relabel_nodes(G, mapping[, copy]) |
Relabel the nodes of the graph G. |
Contents
convert_node_labels_to_integers(G[, ...]) |
Return a copy of the graph G with the nodes relabeled using consecutive integers. |
relabel_nodes(G, mapping[, copy]) |
Relabel the nodes of the graph G. |