def add_weighted_edges_from(self, ebunch, weight='weight', **attr):
        self.add_edges_from(((u,v,{weight:d}) for u,v,d in ebunch),**attr)
Generates the circle.
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/classes/graph.py/Graph.add_weighted_edges_from--crossover with--dataset/ETHPy150Open chineking/cola/cola/core/mq/hash_ring.py/HashRing._generate_circle