Add Graph destructor