delete old_GraphGenerator and create new_GraphGenerator based on old one