[ https://issues.apache.org/jira/browse/TINKERPOP-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16262457#comment-16262457 ]
stephen mallette commented on TINKERPOP-1840: --------------------------------------------- I've added links for both {{emit()}} and {{repeat()}} https://github.com/apache/tinkerpop/commit/54ab000cd7d7020981c1470014831b1f95ee5918 however I'm not sure what else to include about {{emit()}} or {{until()}} beyond what has already been written. From my reading of the the {{repeat()}} step documentation it already contains examples and information about how to use {{emit()}} and {{until()}}. Could you please help me understand more about what you found confusing or missing? Were the examples too complicated somehow? Was there something missing from the explanations of the examples that are there? Do you have better examples that helped you come to an understanding on how they worked? Thanks in advance for your help with this. > Explanation about certain functions like emit() > ----------------------------------------------- > > Key: TINKERPOP-1840 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1840 > Project: TinkerPop > Issue Type: Improvement > Components: documentation > Affects Versions: 3.3.0 > Environment: Apache Tinkerpop 3.3, Gremlin documentation > Reporter: Suhas Udeda > Priority: Minor > > In the recipes section of Apache Tinkerpop web page, there is section > dedicated to computing the maximum depth of a node in a graph. According to > the command given there, maximum depth is includes the current node in its > count as well. While this is working fine for all the nodes, it fails when it > comes to the leaf nodes; it returns garbage value. This happens because of > the placement of emit() function in that command. > When I tried understanding how emit() function works, I could not find a > section dedicated to this function in the documentation. I believe this is a > shortcoming especially when beginners are trying to understand the > functionality by referring the documentation. It would be nice if a section > can be added for emit() and other such functions which lack their > representation in the documentation. > http://tinkerpop.apache.org/docs/current/recipes/#_maximum_depth > http://tinkerpop.apache.org/docs/3.3.0/reference/ -- This message was sent by Atlassian JIRA (v6.4.14#64029)