[ 
https://issues.apache.org/jira/browse/TINKERPOP-1990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16562003#comment-16562003
 ] 

ASF GitHub Bot commented on TINKERPOP-1990:
-------------------------------------------

Github user spmallette commented on a diff in the pull request:

    https://github.com/apache/tinkerpop/pull/882#discussion_r206182822
  
    --- Diff: docs/src/reference/the-traversal.asciidoc ---
    @@ -2489,6 +2489,62 @@ 
link:++http://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/grem
     
link:++http://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/structure/Column.html++[`Column`],
     
link:++http://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/process/traversal/Pop.html++[`Pop`]
     
    +[[shortestpath-step]]
    +=== ShortestPath step
    +
    +The `shortestPath()`-step provides an easy way to find shortest non-cyclic 
paths in a graph. It is configurable
    +using the `with()`-modulator with the options given below.
    +
    +[width="100%",cols="3,3,15,5",options="header"]
    +|=========================================================
    +| Key | Type | Description | Default
    +| `target` | `Traversal` | Sets a filter traversal for the end vertices 
(e.g. `__.has('name','marko')`). | all vertices (`__.identity()`)
    +| `edges` | `Traversal` or `Direction` | Sets a `Traversal` that emits the 
edges to traverse from the current vertex or the `Direction` to traverse during 
the shortest path discovery. | `Direction.BOTH`
    +| `distance` | `Traversal` or `String` | Sets the `Traversal` that 
calculates the distance for the current edge or the name of an edge property to 
use for the distance calculations. | `__.constant(1)`
    +| `maxDistance` | `Number` | Sets the distance limit for all shortest 
paths. | none
    +| `includeEdges` | `Boolean` | Whether to include edges in the result or 
not. | `false`
    +|=========================================================
    +
    +[gremlin-groovy,modern]
    +----
    +a = g.withComputer()
    --- End diff --
    
    I don't know that we should start doing "a" here...we don't reference the 
`GraphTraversalSource` any other way than "g" anywhere else in the docs.  


> Add a shortestPath() step
> -------------------------
>
>                 Key: TINKERPOP-1990
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1990
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>            Reporter: Daniel Kuppitz
>            Assignee: Daniel Kuppitz
>            Priority: Major
>
> Implement {{ShortestPathVertexProgram}} and a {{shortestPath()}} step.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to