Github user twilmes commented on the issue:

    https://github.com/apache/tinkerpop/pull/434
  
    This is a good batch of new work and updates.  I was experimenting with the 
`SubgraphStrategy` and wonder if `explain()` should be surfacing the filter 
value when a `valueMap()` is used.
    
    ```
    gremlin> graph = TinkerFactory.createTheCrew()
    ==>tinkergraph[vertices:6 edges:14]
    gremlin> g = graph.traversal()
    ==>graphtraversalsource[tinkergraph[vertices:6 edges:14], standard]
    gremlin> g = 
g.withStrategies(SubgraphStrategy.build().vertexProperties(hasLabel('name')).create())
    ==>graphtraversalsource[tinkergraph[vertices:6 edges:14], standard]
    gremlin> g.V().valueMap()
    ==>[name:[marko]]
    ==>[name:[stephen]]
    ==>[name:[matthias]]
    ==>[name:[daniel]]
    ==>[name:[gremlin]]
    ==>[name:[tinkergraph]]
    gremlin> g.V().valueMap().explain()
    ==>Traversal Explanation
    
=======================================================================================
    Original Traversal                 [GraphStep(vertex,[]), 
PropertyMapStep(value)]
    
    SubgraphStrategy             [D]   [GraphStep(vertex,[]), 
PropertyMapStep(value)]
    ConnectiveStrategy           [D]   [GraphStep(vertex,[]), 
PropertyMapStep(value)]
    RepeatUnrollStrategy         [O]   [GraphStep(vertex,[]), 
PropertyMapStep(value)]
    RangeByIsCountStrategy       [O]   [GraphStep(vertex,[]), 
PropertyMapStep(value)]
    InlineFilterStrategy         [O]   [GraphStep(vertex,[]), 
PropertyMapStep(value)]
    FilterRankingStrategy        [O]   [GraphStep(vertex,[]), 
PropertyMapStep(value)]
    MatchPredicateStrategy       [O]   [GraphStep(vertex,[]), 
PropertyMapStep(value)]
    PathRetractionStrategy       [O]   [GraphStep(vertex,[]), 
PropertyMapStep(value)]
    IncidentToAdjacentStrategy   [O]   [GraphStep(vertex,[]), 
PropertyMapStep(value)]
    AdjacentToIncidentStrategy   [O]   [GraphStep(vertex,[]), 
PropertyMapStep(value)]
    TinkerGraphStepStrategy      [P]   [TinkerGraphStep(vertex,[]), 
PropertyMapStep(value)]
    ProfileStrategy              [F]   [TinkerGraphStep(vertex,[]), 
PropertyMapStep(value)]
    StandardVerificationStrategy [V]   [TinkerGraphStep(vertex,[]), 
PropertyMapStep(value)]
    
    Final Traversal                    [TinkerGraphStep(vertex,[]), 
PropertyMapStep(value)]
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to