graph saves itself