implemented the getVertices function in EdbVertex