I took the recipe that finds paths between vertices in gremlindocs
http://gremlindocs.com/#recipes/paths-between-two-vertices
and modified it slightly so that it has multiple starts looking for
destinations at v[5] and has edge label filtering:
gremlin> origs = [g.v(1),g.v(3)]
==>v[1]
==>v[3]
gremlin> origs._().both('knows','created').loop(1){it.loops<=3 &&
!(
it.object.id in ['1','5'])}.has('id','5').path
==>[v[1], v[4], v[5]]
==>[v[1], v[3], v[4], v[5]]
==>[v[3], v[4], v[5]]
perhaps that will help you solve your problem...
Stephen
On Fri, Nov 9, 2012 at 2:34 PM, Luiz Celso Gomes Jr.
> --
>
>