Created DrawGraph Method