#

Note

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

#

Sparsifiers

Functions for computing sparsifiers of graphs.

spanner(G, stretch[, weight, seed])

Returns a spanner of the given graph with the given stretch.