def from_edgelist(edgelist, create_using=None):
 G = _prep_create_using(create_using)
 G.add_edges_from(edgelist)
 return G

def from_edgelist ( edgelist , create_using = None ) : G = _prep_create_using ( create_using ) G . add_edges_from ( edgelist ) return G
return a graph from a list of edges .