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