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
 traversal. You might find
 http://components.neo4j.org/neo4j-examples/1.4-SNAPSHOT/ interesting, too?

 Cheers,

 /peter neubauer

 GTalk:  neubauer.peter
 Skype   peter.neubauer
 Phone   +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter  http://twitter.com/peterneubauer

 http://www.neo4j.org   - Your high performance graph database.
 http://startupbootcamp.org/- Ă–resund - Innovation happens HERE.
 http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.


 On Wed, May 11, 2011 at 12:41 AM, Jean-Pierre Bergamin 
 jpberga...@gmail.com
  wrote:

  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 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:
   http://wiki.neo4j.org/content/Traversal_Framework
  
   Cheers,
   Tobias
  
   On Wed, May 11, 2011 at 9:08 AM, Jean-Pierre Bergamin
   jpberga...@gmail.comwrote:
  
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 traverse all RelationshipTypes then
 building
  up
an
array that contains all types and the outgoing direction (as
 described
   here
http://sujitpal.blogspot.com/2009/06/custom-traverser-for-neo4j.html
 )?
   
   
Thanks for the help,
James
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
   
  
  
  
   --
   Tobias Ivarsson tobias.ivars...@neotechnology.com
   Hacker, Neo Technology
   www.neotechnology.com
   Cellphone: +46 706 534857
   ___
   Neo4j mailing list
   User@lists.neo4j.org
   https://lists.neo4j.org/mailman/listinfo/user
  
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[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 traverse all RelationshipTypes then building up an
array that contains all types and the outgoing direction (as described here
http://sujitpal.blogspot.com/2009/06/custom-traverser-for-neo4j.html)?


Thanks for the help,
James
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


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:
http://wiki.neo4j.org/content/Traversal_Framework

Cheers,
Tobias

On Wed, May 11, 2011 at 9:08 AM, Jean-Pierre Bergamin
jpberga...@gmail.comwrote:

 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 traverse all RelationshipTypes then building up
 an
 array that contains all types and the outgoing direction (as described here
 http://sujitpal.blogspot.com/2009/06/custom-traverser-for-neo4j.html)?


 Thanks for the help,
 James
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




-- 
Tobias Ivarsson tobias.ivars...@neotechnology.com
Hacker, Neo Technology
www.neotechnology.com
Cellphone: +46 706 534857
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


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 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:
 http://wiki.neo4j.org/content/Traversal_Framework

 Cheers,
 Tobias

 On Wed, May 11, 2011 at 9:08 AM, Jean-Pierre Bergamin
 jpberga...@gmail.comwrote:

  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 traverse all RelationshipTypes then building up
  an
  array that contains all types and the outgoing direction (as described
 here
  http://sujitpal.blogspot.com/2009/06/custom-traverser-for-neo4j.html)?
 
 
  Thanks for the help,
  James
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 



 --
 Tobias Ivarsson tobias.ivars...@neotechnology.com
 Hacker, Neo Technology
 www.neotechnology.com
 Cellphone: +46 706 534857
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


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:  neubauer.peter
Skype   peter.neubauer
Phone   +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter  http://twitter.com/peterneubauer

http://www.neo4j.org   - Your high performance graph database.
http://startupbootcamp.org/- Ă–resund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.


On Wed, May 11, 2011 at 12:41 AM, Jean-Pierre Bergamin jpberga...@gmail.com
 wrote:

 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 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:
  http://wiki.neo4j.org/content/Traversal_Framework
 
  Cheers,
  Tobias
 
  On Wed, May 11, 2011 at 9:08 AM, Jean-Pierre Bergamin
  jpberga...@gmail.comwrote:
 
   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 traverse all RelationshipTypes then building
 up
   an
   array that contains all types and the outgoing direction (as described
  here
   http://sujitpal.blogspot.com/2009/06/custom-traverser-for-neo4j.html)?
  
  
   Thanks for the help,
   James
   ___
   Neo4j mailing list
   User@lists.neo4j.org
   https://lists.neo4j.org/mailman/listinfo/user
  
 
 
 
  --
  Tobias Ivarsson tobias.ivars...@neotechnology.com
  Hacker, Neo Technology
  www.neotechnology.com
  Cellphone: +46 706 534857
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user