clean the undo redo pile after creating a new graph