Re: [Neo4j] Generic expansion?

2011-05-20 Thread Tobias Ivarsson
org.neo4j.kernel.Traversal.expanderForAllTypes(); On Fri, May 20, 2011 at 4:53 PM, Marko Rodriguez wrote: > Hey, > > Yea. Thats what I'm looking for, but it doesn't seem to be part of the API? > .. ? > > I can only find StandardExpander (abstract) and OrderedByTypeExpander. > > Thoughts?, -- IM m

Re: [Neo4j] Generic expansion?

2011-05-20 Thread Marko Rodriguez
Hey, Yea. Thats what I'm looking for, but it doesn't seem to be part of the API? .. ? I can only find StandardExpander (abstract) and OrderedByTypeExpander. Thoughts?, -- IM me if you wish. Marko. On May 20, 2011, at 8:46 AM, Peter Neubauer wrote: > Marko, > you could do an AllExpander(Directi

Re: [Neo4j] Generic expansion?

2011-05-20 Thread Peter Neubauer
Marko, you could do an AllExpander(Direction.BOTH) or really any subclass of Expander, http://api.neo4j.org/current/org/neo4j/graphdb/Expander.html Does that help? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.link

[Neo4j] Generic expansion?

2011-05-20 Thread Marko Rodriguez
Hi, How do I do something like this: PathFinder finder = GraphAlgoFactory.shortestPath(new OrderedByTypeExpander().add(DynamicRelationshipType.withName("knows")), 6); ...but where I don't care about the RelationshipType taken (and I don't want to enumerate all the types I have as I hav