Heinz-Peter,
how do you find out your paths? After you got your from a traversal (by just
looping over a Path variable, see
https://github.com/neo4j/community/blob/master/embedded-examples/src/test/java/org/neo4j/examples/MatrixNewTravTest.java#L137)
you can use the Path API
http://components.neo4j.org/neo4j/1.4.1/apidocs/org/neo4j/graphdb/Path.htmlto
test for included nodes.

Does that help?

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 Tue, Aug 30, 2011 at 9:51 AM, deker <[email protected]> wrote:

> hi
>
> I have the requirement to determine if a couple of nodes (more than 2) are
> located on a path.
> how can i to this?
>
> Thanks
> Heinz-Peter
>
> --
> View this message in context:
> http://neo4j-community-discussions.438527.n3.nabble.com/How-to-check-if-nodes-more-than-2-are-connect-with-relationship-tp3294832p3294832.html
> Sent from the Neo4j Community Discussions mailing list archive at
> Nabble.com.
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to