Now graphs are persistent and are not deleted when orientation changes.