structify_net.scoring.has_giant_component

structify_net.scoring.has_giant_component(graph, threshold=0.9)

Check if the graph has a giant component

Returns True if the ratio of the largest component to the total number of nodes is above the threshold

Args:

graph (nx.Graph): A graph threshold (float, optional): The threshold. Defaults to 0.9.

Returns:

_type_: True if the graph has a giant component