Refactor batchgraph to load properties on vertices all at once.