(Changed in version 2.8.0) collect
has changed. The previous behavior can be reproduced with toSeq
.
Traverser only visits node Ids listed in some node's edges, and thus we know that node must exist, safe to assume graph.getNodeById return non-None value
Traverser only visits node Ids listed in some node's edges, and thus we know that node must exist, safe to assume graph.getNodeById return non-None value
If option is defined, it is the maximal number of elements the iterator returns.
If is None
, the iterator is not bounded.
Same as RandomTraverser except that the number of steps taken is bounded by
maxSteps