added delete method into graph repository