Hi - I am working on an application similar to Twitter, where users can 
follow eachother (one directional relationship).

I'm trying to query the shortest path between two users  but only in one 
direction - so if for example user A follow user B who follows user C (but 
no reverse relationship), I am looking for something that will tell me the 
shortest path from A to C is A->B->C, but will return empty if I look for 
the shortest path from C to A.

I tried using the ShortestPath() function but it seems agnostic to 
direction, and returns A, B, C either way in that direction. Does anyone 
know of a good way to do this?

Thanks

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to