Christopher Smith created TINKERPOP-3159: --------------------------------------------
Summary: from modulator for tree step Key: TINKERPOP-3159 URL: https://issues.apache.org/jira/browse/TINKERPOP-3159 Project: TinkerPop Issue Type: Improvement Components: language Affects Versions: 3.7.3 Reporter: Christopher Smith I have a reusable query fragment in a business application that starts at a "user" vertex and enumerates some various resources the user has access to, using {{tree()}} to report structure. However, the {{tree}} step always reports the entire traverser path from {{{}g.V(){}}}, with no way to limit it—\{{sideEffect}}, {{{}local{}}}, and so on either don't reset it or entirely clear the history. I would like to be able to use {{from}} on {{tree}} in the same manner as on {{path}} so that I could do this: {code:java} def resources(GraphTraversal<?, Vertex> userVertex) { userVertex.as('user') .out('Controls').as('widgets') .out('Contains').as('parts') // blah blah .tree('resourceTree').from('user') .project //... }{code} -- This message was sent by Atlassian Jira (v8.20.10#820010)