You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2015/02/20 21:41:01 UTC

incubator-tinkerpop git commit: traversal Tree examples exposed.

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master 26cc35e64 -> d5f6702dc


traversal Tree examples exposed.


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

Branch: refs/heads/master
Commit: d5f6702dc174a532af119041233d3df4581db71e
Parents: 26cc35e
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Fri Feb 20 13:40:58 2015 -0700
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Fri Feb 20 13:40:58 2015 -0700

----------------------------------------------------------------------
 docs/src/the-traversal.asciidoc | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/d5f6702d/docs/src/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/the-traversal.asciidoc b/docs/src/the-traversal.asciidoc
index 80850f1..d7da760 100644
--- a/docs/src/the-traversal.asciidoc
+++ b/docs/src/the-traversal.asciidoc
@@ -1258,15 +1258,14 @@ It is important to see how the paths of all the emanating traversers are united
 image::tree-step2.png[width=500]
 
 The resultant tree data structure can then be manipulated (see link:http://www.tinkerpop.com/javadocs/current/org/apache/tinkerpop/gremlin/process/graph/step/util/Tree.html[Tree JavaDoc]). For the sake of demonstration, a post-processing lambda is applied in the running example below.
-////
+
 [gremlin-groovy,modern]
 ----
-//tree = g.V().out().out().tree().by('name').next()
-//tree['marko']
-//tree['marko']['josh']
-//tree.getObjectsAtDepth(3)
+tree = g.V().out().out().tree().by('name').next()
+tree['marko']
+tree['marko']['josh']
+tree.getObjectsAtDepth(3)
 ----
-////
 
 [[unfold-step]]
 Unfold Step