This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.
Relabel graph using “label” node keyword for node label.
G : graph
A NetworkX graph read from GEXF data
H : graph
A NetworkX graph with relabed nodes
This function relabels the nodes in a NetworkX graph with the “label” attribute. It also handles relabeling the specific GEXF node attributes “parents”, and “pid”.