code: def print_tree_deps_of(module, all_edges=None):
      """
      Prints the tree of modules depending on a given module.
      """
      if all_edges is None:
          all_edges = create_reverse_dependency_tree()
      tree = get_tree_starting_at(module, all_edges)
  
      # The list of lines is a list of tuples (line_to_be_printed, module)
      # Keeping the modules lets us know where to insert each new lines in the list.
      lines = [(tree[0], tree[0])]
      for index in range(1, len(tree)):
          edges = tree[index]
          start_edges = set([edge[0] for edge in edges])
  
          for start in start_edges:
              end_edges = set(
                  [edge[1] for edge in edges if edge[0] == start]
              )
              # We will insert all those edges just after the line showing start.
              pos = 0
              while lines[pos][1] != start:
                  pos += 1
              lines = (
                  lines[: pos + 1]
                  + [
                      (" " * (2 * index) + end, end)
                      for end in end_edges
                  ]
                  + lines[pos + 1 :]
              )
  
      for line in lines:
          # We don't print the refs that where just here to help build lines.
          print(line[0])
  
imports: import argparse
  import collections
  import json
  import os
  import re
  from contextlib import contextmanager
  from pathlib import Path
  from git import Repo
label_desc: Use image node_id 11 for calling a global function with example usage: print_tree_deps_of(module, all_edges) without return types