add addVertex method to XPregelGraph