two-kinds-of-edges