Make it possible to pass dgraph.metric.betweenness a buffer
to store centrality values.