Hi,
I have a question about the traversal API: The API use ReturnableEvaluator
to decide if a node should be selected by the traverser which leave place
for developer to enter any arbitrary rules of which nodes to select. On the
other hand the implementation return from Node allow to specify only
RelationshipType and Direction to decide on which link to traverse.

My question is why not have TraversableLink interface which will have
boolean method isTraversable (or something like that) that will get the
TraversePosition and Link and will decide if the link should be traversed.
This way things like the number of links already traversed or properties of
the link can be take into account.

What do you think?

Ido
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to