This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Gremlin user-defined defined tree steps | |
// inTree() and outTree() | |
// by James Thornton, http://jamesthornton.com | |
// added ability to sort subtrees | |
// see https://groups.google.com/d/topic/gremlin-users/iCPUifiU_wk/discussion | |
// closure can't have the same name as the defined step | |
tree = { vertices -> |