Commits

Micha Kops committed b542fc1

Missing connections for the Gloucester node added.

Comments (0)

Files changed (1)

src/main/java/com/hascode/tutorial/RailroadExample.java

 					RelTypes.LEADS_TO);
 			r8.setProperty("distance", 77);
 
+			// northampton -> gloucester ~113mi
+			Relationship r9 = northamptonNode.createRelationshipTo(
+					gloucesterNode, RelTypes.LEADS_TO);
+			r9.setProperty("distance", 113);
+
+			// gloucester -> bristol ~35mi
+			Relationship r10 = gloucesterNode.createRelationshipTo(bristolNode,
+					RelTypes.LEADS_TO);
+			r10.setProperty("distance", 35);
+
 			tx.success();
 
 			System.out