creates a traversal Iterable starting with Node node stopEval and RetEval are called with (Nodes of) type T.
creates a traversal Iterable starting with Node node stopEval and RetEval are called with (Nodes of) type T. The returned Iterable can be converted to List. F. e.:
myNode.doTraverse[MatrixBase](follow(BREADTH_FIRST) -- "KNOWS" ->- "CODED_BY" -<- "FOO") {
END_OF_GRAPH
} {
case (x: Matrix, tp) if (tp.depth == 2) => x.name.length > 2
case (x: NonMatrix, _) => false
}.toList.sortWith(_.name < _.name)
result type (nodes are converted to T)
RelationBuffer to define Directions and RelationTypes
Partial Function for stop evaluator function
Partial Function for return evaluator function
Iterable[T] of converted nodes of type T
Enhances a Node with a doTraverse method