hi again
I suspect I'm missing something small, but when I run the following in the
webadmin console, I don't get any output....?
m = [:]; g.v(162).in('R_PartOf').loop(1){m.put(it.object, it.loops);
true}.cap.next().sort{a, b -> a.value <=> b.value}.keySet >> [] 
(m is empty too...)

Thanks for the info on cap, by the way: its awesome. :)

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Gremlin-how-to-flatten-a-tree-and-sort-tp3480586p3486381.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to