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