List<TitanVertex> vertices = new ArrayList<TitanVertex>(numVertices);
List<InternalRelation> relations = new ArrayList<InternalRelation>();
TitanVertex old = null;
for (int i = 0; i < numVertices; i++) {
TitanVertex next = (TitanVertex) graph.addVertex(null);
InternalRelation edge = null;
if (old != null) {
edge = (InternalRelation) graph.addEdge(null, old, next, "knows");
}
InternalRelation property = (InternalRelation) next.addProperty("age", 25);
if (flush) {
idAssigner.assignID((InternalVertex) next);
idAssigner.assignID(property);
if (edge != null) idAssigner.assignID(edge);
} else {