network with weighted degree nodes