Hi Stephen, I found your write up extremely useful. As powerful as Gremlin is, a constant piece of feedback I get from people not as skilled in it as you are is that it is actually quite hard once you get beyond basic queries to (a) get the Gremlin figured out to perform a query and (b) come up with optimal Gremlin even if you do get something working. So I think guides like these have tremendous value.
One small suggestion, in the Centrality example, you use multiple by() steps. I think it would be good to add text that explains what a by() with no parameters does. I don't think it is immediately obvious to the reader. Keep up the good work! Kelvin On Monday, June 13, 2016 at 2:37:05 PM UTC-5, Stephen Mallette wrote: > > After a few rounds of review and tweaking with Marko and Kuppitz, I've > published a new Gremlin Recipe that shows different ways to use Gremlin to > calculate centrality: > > http://tinkerpop.apache.org/docs/3.2.1-SNAPSHOT/recipes/#centrality > > Even if you don't need to calculate centrality in your graph, it might be > worth your time reviewing this section as some of the traversals are > reasonably advanced and I did the best I could to pick them apart for your > learning pleasure. You might note some improved ways of doing things in > your own Gremlin-related work if you can take some time to dig into the > samples. Enjoy! > > Stephen >
