Edge-Editing to a Dense and a Sparse Graph Class