#

Note

This documents the development version of NetworkX. Documentation for the current release can be found here.

#

Wiener index

Functions related to the Wiener index of a graph.

wiener_index(G[, weight])

Returns the Wiener index of the given graph.