python networkx 有没有函数可以实现 判断一个无向图中两个结点是否连通
import networkx as nxnx.has_path(G, source, target)
http://bbs.csdn.net/topics/392077302