Edges of the type
Number of edges
(n − 2)m
2m