ToolPythonBeginner NetworkX from the ground up: the fault line through a karate club print("connected:", nx.is_connected(G))
ConceptPythonAdvanced The graph Laplacian: why its second eigenvector cuts a network in two if nx.is_connected(R):