branching_weight#

branching_weight(G, attr='weight', default=1)[源代码]#

返回分支的总重量。