added graph's ADT interface