NetworkX

Table Of Contents

Previous topic

from_scipy_sparse_matrix

Next topic

convert_node_labels_to_integers

Relabeling nodes

Relabeling

convert_node_labels_to_integers(G[, ...]) Return a copy of G node labels replaced with integers.
relabel_nodes(G, mapping[, copy]) Relabel the nodes of the graph G.