v.setProperty("text", "Vertex " + words[i % words.length]);
v.setProperty("time", i);
offset = (i % 2 == 0 ? 1 : -1) * (i * 50.0 / numV);
v.setProperty("location", Geoshape.point(0.0 + offset, 0.0 + offset));
Edge e = v.addEdge("knows", tx.getVertex("uid", Math.max(0, i - 1)));
e.setProperty("text", "Vertex " + words[i % words.length]);
e.setProperty("time", i);
e.setProperty("category", i % numCategories);
e.setProperty("group", i % numGroups);
e.setProperty("location", Geoshape.point(0.0 + offset, 0.0 + offset));