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

    https://github.com/apache/tinkerpop/pull/882#discussion_r206210239
  
    --- 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 --
    
    oh - sorry - i didn't see that. maybe just don't put it all in one block? 
reserve that last one as its own example with some introductory text to 
separate and explain what its doing?


---

Reply via email to