#

Note

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

#

networkx.algorithms.tree.branchings.branching_weight

branching_weight(G, attr='weight', default=1)[source]

Returns the total weight of a branching.