Relabel graph using “label” node keyword for node label.
Parameters : | G : graph
|
---|---|
Returns : | H : graph
|
Notes
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”.