edges by degree