outputsInDepth method
Implementation
Map<Node<T>, List<Node<T>>> outputsInDepth(
{int? maxDepth, bool bfs = false}) =>
Map<Node<T>, List<Node<T>>>.fromEntries(map(
(e) => MapEntry(e, e.outputsInDepth(maxDepth: maxDepth, bfs: bfs))));