tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ok...@apache.org
Subject [1/2] tinkerpop git commit: fixed a typo in docs.
Date Fri, 24 Mar 2017 15:01:07 GMT
Repository: tinkerpop
Updated Branches:
  refs/heads/master c85c2bc32 -> 7df1c0470


fixed a typo in docs.


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/e3e1dca7
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/e3e1dca7
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/e3e1dca7

Branch: refs/heads/master
Commit: e3e1dca7ae3d151a23aa75ebc49a2460c8932d94
Parents: 2fedaac
Author: Marko A. Rodriguez <okrammarko@gmail.com>
Authored: Fri Mar 24 09:00:49 2017 -0600
Committer: Marko A. Rodriguez <okrammarko@gmail.com>
Committed: Fri Mar 24 09:00:49 2017 -0600

----------------------------------------------------------------------
 docs/src/reference/the-traversal.asciidoc | 28 +++++++++++++-------------
 1 file changed, 14 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/e3e1dca7/docs/src/reference/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc
index b0db605..f7aee7c 100644
--- a/docs/src/reference/the-traversal.asciidoc
+++ b/docs/src/reference/the-traversal.asciidoc
@@ -2065,20 +2065,20 @@ g.V().out().as('a').out().as('b').out().as('c').
 
 By using the `from()` and `to()` modulators traversers can ensure that only certain sections
of the path are are acyclic.
 
-[gremlin-grovvy]
-----
-g.addV().property(id, "A").as("a").
-  addV().property(id, "B").as("b").
-  addV().property(id, "C").as("c").
-  addV().property(id, "D").as("d").
-  addE("link").from("a").to("b").
-  addE("link").from("b").to("c").
-  addE("link").from("c").to("d").iterate()
-g.V("A").repeat(both().simplePath()).times(3).path()  <1>
-g.V("D").repeat(both().simplePath()).times(3).path()  <2>
-g.V("A").as("a").
-  repeat(both().simplePath().from("a")).times(3).as("b").
-  repeat(both().simplePath().from("b")).times(3).path()  <3>
+[gremlin-groovy]
+----
+g.addV().property(id, 'A').as('a').
+  addV().property(id, 'B').as('b').
+  addV().property(id, 'C').as('c').
+  addV().property(id, 'D').as('d').
+  addE('link').from('a').to('b').
+  addE('link').from('b').to('c').
+  addE('link').from('c').to('d').iterate()
+g.V('A').repeat(both().simplePath()).times(3).path()  <1>
+g.V('D').repeat(both().simplePath()).times(3).path()  <2>
+g.V('A').as('a').
+  repeat(both().simplePath().from('a')).times(3).as('b').
+  repeat(both().simplePath().from('b')).times(3).path()  <3>
 ----
 
 <1> Traverse all acyclic 3-hop paths starting from vertex `A`


Mime
View raw message