Re: [Neo4j] Graph traversal doubt

2011-03-20 Thread Peter Neubauer
Adriano, how about something like this? import org.junit.Test; import org.neo4j.graphdb.Node; import org.neo4j.graphdb.Path; import org.neo4j.graphdb.traversal.Evaluation; import org.neo4j.graphdb.traversal.Evaluator; import org.neo4j.graphdb.traversal.TraversalDescription; import org.neo4j.kerne

[Neo4j] Graph traversal doubt

2011-03-20 Thread Adriano Henrique de Almeida
Hi, I have the following attached graph where I have persons who traveled to some cities. What I want to find out is, for a given city, for instance Toronto, "the ones who traveled there, also traveled to these other cities" (in the attached graph are Tokyo (by Adriano) and Paris (by Peter)). To