Re: Gremlin Query to return count for nodes and edges


cmilowka
 

It may work as well, to count totals of all in and out edges for "A" label:

g.V().hasLabel('A').union( __.count(), __. outE().count(), __.inV().count() )

 

Join {janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.