Adds definition of edge.