find_connected_nodes

mdhelper.algorithm.utility.find_connected_nodes(graph: dict[Any, list[Any]]) list[list[Any]][source]

Finds connected components in a graph.

Parameters:
graphdict

Graph to search.

Returns:
resultslist

Connected components.