I believe it was James Thornton that had the idea of supporting tree data structures.
The work that Pangloss did to add Pipe.getPath() to Pipes has opened up a lot of potential. However, turning a linear path into a tree is not something easily done without some trickery. As such, a tree data structure (like how table was birthed from paths) might be a good thing.
Is something like this what is desired?
gremlin> g.v(1).out('created').in('created').tree
==>(v[1],((v[3], (v[4],v[6])),(v[4],(v[5],v[6])))
?uggle. Super gross.
In short:
[root, children*] in a recursive fashion.
Repeatable closures should be used consistently. For instance:gremlin> t = new Table()gremlin> g.v(1).out('knows').as('x').out('created').as('y').table(t){it.name}The number of columns is 2 and the number of closures is 1