networkx.NetworkXNoCycle

exception networkx.NetworkXNoCycle[source]

Exception for algorithms that should return a cycle when running on graphs where such a cycle does not exist.