dynamicalab.
largest_connected_component
Extract the largest connected component of the graph.
Parameters
Returns
nx.Graph
A Python module dedicated to network science.