Re: [Neo4j] Traversing all relationship types

2011-05-13 Thread Jean-Pierre Bergamin
Thank you Peter. These examples are really helpful and up-to-date. Best regards, James 2011/5/11 Peter Neubauer peter.neuba...@neotechnology.com Jean-Pierre, we are in the process of moving the Getting started guides to docs.neo4j,org, along with a number of good examples, amongst others on

[Neo4j] Traversing all relationship types

2011-05-11 Thread Jean-Pierre Bergamin
Hello neo4j users I'm just diving into neo4j and playing around with graph algorithms and traversers. As a start, I just wanted to traverse the whole graph with all relationship types in the OUTGOING direction. The traverse() method always expects a RelationshipType. Is there a simpler way to

Re: [Neo4j] Traversing all relationship types

2011-05-11 Thread Tobias Ivarsson
There is a tentative new traversal API included in Neo4j that features this functionality: org.neo4j.kernel.Traversal.description().expand( org.neo4j.kernel.Traversal.expanderForAllTypes( Direction.OUTGOING ) ); You can read more about it here:

Re: [Neo4j] Traversing all relationship types

2011-05-11 Thread Jean-Pierre Bergamin
Thank you Tobias. This new traversal framework looks much more powerful and fluent then the traverser I have been playing with so far. The getting started guide should definitively point to it. Best regards, James 2011/5/11 Tobias Ivarsson tobias.ivars...@neotechnology.com There is a

Re: [Neo4j] Traversing all relationship types

2011-05-11 Thread Peter Neubauer
Jean-Pierre, we are in the process of moving the Getting started guides to docs.neo4j,org, along with a number of good examples, amongst others on traversal. You might find http://components.neo4j.org/neo4j-examples/1.4-SNAPSHOT/ interesting, too? Cheers, /peter neubauer GTalk: