scipy.sparse.csgraph
scipy.sparse.csgraph.structural_rank
scipy.sparse.csgraph.construct_dist_matrix
scipy.sparse.csgraph.
NegativeCycleError