// Generate edges
for (int i = 0; i < schema.getEdgeLabels(); i++) {
DistributionGenerator gen = new DistributionGenerator(schema.getEdgeLabelName(i), edgeAnnotator);
gen.setOutDistribution(new PowerLawDistribution(GAMMA));
gen.setInDistribution(new PowerLawDistribution(GAMMA));
gen.generate(g, schema.getEdgeCount());
}
g.commit();
TitanTransaction tx = g.newTransaction();