Warning

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

networkx.algorithms.tree.branchings.branching_weight

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

Returns the total weight of a branching.