[Neo4j] Traversal Framework question

Marko Rodriguez okrammarko at gmail.com
Sun Feb 20 19:04:11 CET 2011


Hi,

> Traversal.description()
> .depthFirst()
> .relationships(RelationshipTypes.CREATED, Direction.BOTH)
> .traverse(developer).nodes()

To be clear, a co-creator is someone is who has created the same things as you and who is not you. Thus, you need to go outgoing CREATED, then incoming CREATED, then you need to make sure that the vertex you land at is not the one you left from -- thus, you need to filter the originating vertex.

See ya,
Marko.

http://markorodriguez.com



More information about the User mailing list