Added missing method to obtain graph to JavaHandlerImpl