inputsInDepthIntersection method
Implementation
List<Node<T>> inputsInDepthIntersection({int? maxDepth, bool bfs = false}) {
var intersection = inputsInDepth(maxDepth: maxDepth, bfs: bfs)
.values
.reduce((intersection, l) => intersection.intersection(l));
return intersection;
}