walkOutputsOrderFrom<R> method
Walk the graph nodes outputs starting from
and stopping at stopMatcher
(if provided).
Implementation
List<Node<T>> walkOutputsOrderFrom<R>(
Iterable<T> from, {
NodeMatcher<T>? stopMatcher,
bool processRoots = true,
int maxExpansion = 1,
bool expandSideRoots = false,
bool sortByInputDependency = false,
bool bfs = false,
}) =>
GraphWalker<T>(
stopMatcher: stopMatcher,
processRoots: processRoots,
maxExpansion: maxExpansion,
sortByInputDependency: sortByInputDependency,
bfs: bfs,
).walkOrder(
from.toList(),
nodeProvider: (step, nodeValue) => getNode(nodeValue),
outputsProvider: (step, node) => node._outputs,
expandSideBranches: expandSideRoots,
);