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);