GumpacG commented on code in PR #3448:
URL: https://github.com/apache/tinkerpop/pull/3448#discussion_r3399678608


##########
docs/src/reference/the-traversal.asciidoc:
##########
@@ -5049,14 +5049,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 `Tree` JavaDoc).
+The resultant tree data structure can then be navigated with its tree-shaped 
API such as `childAt()`, `findSubtree()`, `getNodesAtDepth()`, and 
`getLeafNodes()` (see `Tree` JavaDoc).
 
 [gremlin-groovy,modern]
 ----
 tree = g.V().out().out().tree().by('name').next()
-tree['marko']
-tree['marko']['josh']
-tree.getObjectsAtDepth(3)
+tree.childAt('marko')

Review Comment:
   I've updated it to include tree in the SugarLoader to include support the 
old syntax. Docs will just have the old syntax in the comment as an option with 
the sugar plugin.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to