branching_weight

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

Returns the total weight of a branching.