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