Class method to calculate incident edges of vertex.