Utils

Basic manipulation

largest_connected_component(G[, relabel]) Extract the largest connected component of the graph.
merge_duplicated_nodes(G[, based_on, …]) Merge duplicated nodes based on either a key attribute (based_on) or using a certain function to extract the node key.