for (int i = 0; i < numVertices; i++) {
final Vertex v = g.addVertex("oid", i, "name", RandomStringUtils.randomAlphabetic(r.nextInt(1024)));
ids.add(v.id());
}
final Distribution inDist = new PowerLawDistribution(2.3);
final Distribution outDist = new PowerLawDistribution(2.8);
final DistributionGenerator generator = DistributionGenerator.build(g)
.label("knows")
.seedGenerator(r::nextLong)
.outDistribution(outDist)
.inDistribution(inDist)