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
