deleting graph