Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

Wiener indexΒΆ

Functions related to the Wiener index of a graph.

wiener_index(G[, weight]) Returns the Wiener index of the given graph.