Skip to content

Commit

Permalink
Merge pull request thinkaurelius#1196 from achinthagunasekara/patch-1
Browse files Browse the repository at this point in the history
Update GraphOfTheGodsFactory.java
  • Loading branch information
spmallette committed Dec 3, 2015
2 parents 166b547 + 7d98c23 commit ee226e5
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@
import org.apache.tinkerpop.gremlin.structure.Edge;
import org.apache.tinkerpop.gremlin.structure.T;
import org.apache.tinkerpop.gremlin.structure.Vertex;

import java.io.File;


/**
* Example Graph factory that creates a {@link TitanGraph} based on roman mythology.
* Used in the documentation examples and tutorials.
Expand Down Expand Up @@ -92,27 +90,16 @@ public static void load(final TitanGraph graph, String mixedIndexName, boolean u
// vertices

Vertex saturn = tx.addVertex(T.label, "titan", "name", "saturn", "age", 10000);

Vertex sky = tx.addVertex(T.label, "location", "name", "sky");

Vertex sea = tx.addVertex(T.label, "location", "name", "sea");

Vertex jupiter = tx.addVertex(T.label, "god", "name", "jupiter", "age", 5000);

Vertex neptune = tx.addVertex(T.label, "god", "name", "neptune", "age", 4500);

Vertex hercules = tx.addVertex(T.label, "demigod", "name", "hercules", "age", 30);

Vertex alcmene = tx.addVertex(T.label, "human", "name", "alcmene", "age", 45);

Vertex pluto = tx.addVertex(T.label, "god", "name", "pluto", "age", 4000);

Vertex nemean = tx.addVertex(T.label, "monster", "name", "nemean");

Vertex hydra = tx.addVertex(T.label, "monster", "name", "hydra");

Vertex cerberus = tx.addVertex(T.label, "monster", "name", "cerberus");

Vertex tartarus = tx.addVertex(T.label, "location", "name", "tartarus");

// edges
Expand Down

0 comments on commit ee226e5

Please sign in to comment.