Re: [Neo4j] undirected graph

2011-03-31 Thread Peter Neubauer
Exactly. Just treat a directed graph undirected by ignoring the direction of relationships. 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:

Re: [Neo4j] undirected graph

2011-03-31 Thread 见光分解
you mean that there are no differences between undirected graph and directed graph in neo4j? -- View this message in context: http://neo4j-user-list.438527.n3.nabble.com/undirected-graph-tp2758690p2758790.html Sent from the Neo4J User List mailing list archive at Nabble.com. _

Re: [Neo4j] undirected graph

2011-03-31 Thread Peter Neubauer
Hi there, you always create directed edges. However, if you don't want to take directions into account, just ignore the directions in your traversals using for ( Path position : Traversal.description() .depthFirst() .relationships( LIKES, Direction.BOTH ) .prune( Trav

Re: [Neo4j] undirected graph

2011-03-31 Thread Rick Bullotta
In Neo, all relationships can be traversed in either direction. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Sent: Thursday, March 31, 2011 9:53 AM To: user@lists.neo4j.org Subject: [Neo4j] undirected graph how to create

[Neo4j] undirected graph

2011-03-31 Thread 见光分解
how to create an undirected graph.please tell me the API. every time i create a graph,it is a directed graph,such as A--->B;but not B--->A thx~~ -- View this message in context: http://neo4j-user-list.438527.n3.nabble.com/undirected-graph-tp2758690p2758690.html Sent from the Neo4J User List maili