NetworkX

Previous topic

networkx.drawing.layout.spectral_layout

Next topic

Utilities

Exceptions

Base exceptions and errors for NetworkX.

class networkx.NetworkXException

Base class for exceptions in NetworkX.

class networkx.NetworkXError

Exception for a serious error in NetworkX

class networkx.NetworkXPointlessConcept

Harary, F. and Read, R. “Is the Null Graph a Pointless Concept?” In Graphs and Combinatorics Conference, George Washington University. New York: Springer-Verlag, 1973.

class networkx.NetworkXAlgorithmError

Exception for unexpected termination of algorithms.

class networkx.NetworkXUnfeasible

Exception raised by algorithms trying to solve a problem instance that has no feasible solution.

class networkx.NetworkXNoPath

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

class networkx.NetworkXUnbounded

Exception raised by algorithms trying to solve a maximization or a minimization problem instance that is unbounded.