Move edgeL calculation into np2x and use graphNEL constructor function.