inputsInDepth method

Map<Node<T>, List<Node<T>>> inputsInDepth({
  1. int? maxDepth,
  2. bool bfs = false,
})

Implementation

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