g = TinkerGraph.open().traversal()g.addV().property(id,1).property('op','g.').as('g.').addV().property('op','V(1).').as('V(1).').addV().property('op','repeat(').as('repeat(').addV().property('op','out()).').as('out()).').addV().property('op','times(4).').property('name',"x",'op',"properties('name')").as('times(4).').addE('link').from('g.').to('V(1).').addE('link').from('V(1).').to('repeat(').addE('link').from('repeat(').to('out()).').addE('link').from('out()).').to('times(4).')
g.V(1).repeat(out()).times(4).properties('name')
gremlin> g.V(1).repeat(out()).times(4).properties('name').path().by('op')==>[g.,V(1).,repeat(,out()).,times(4).,properties('name')]
On Sep 28, 2016, at 11:02 AM, Marko Rodriguez <okram...@gmail.com> wrote:
Hello,Assume the following graph.g = TinkerGraph.open().traversal()g.addV().property(id,1).property('op','g.').as('g.').addV().property('op','V(1).').as('V(1).').addV().property('op','repeat(').as('repeat(').addV().property('op','out()).').as('out()).').addV().property('op','times(4).').property('name',"x",'op',"properties('name')").as('times(4).').addE('link').from('g.').to('V(1).').addE('link').from('V(1).').to('repeat(').addE('link').from('repeat(').to('out()).').addE('link').from('out()).').to('times(4).')
<self-writing-graph.png>
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/DBDE5523-3794-4467-BFC3-0BBF9D58B4D5%40gmail.com.
For more options, visit https://groups.google.com/d/optout.