followPrevEOGEdgesUntilHit
fun Node.followPrevEOGEdgesUntilHit(collectFailedPaths: Boolean = true, findAllPossiblePaths: Boolean = true, predicate: (Node) -> Boolean): FulfilledAndFailedPaths
Returns an instance of FulfilledAndFailedPaths where FulfilledAndFailedPaths.fulfilled contains all possible shortest evaluation paths between the end node this and the start node fulfilling predicate. The paths are represented as lists of nodes. Paths which do not end at such a node are included in FulfilledAndFailedPaths.failed.
Hence, if "fulfilled" is a non-empty list, the execution of a statement fulfilling the predicate is possible after executing this possible but not mandatory. If the list "failed" is empty, such a statement is always executed.