For single edge graphs