code: def get_tree_starting_at(module, edges):
      """
      Returns the tree starting at a given module following all edges in the following format: [module, [list of edges
      starting at module], [list of edges starting at the preceding level], ...]
      """
      vertices_seen = [module]
      new_edges = [
          edge
          for edge in edges
          if edge[0] == module and edge[1] != module
      ]
      tree = [module]
      while len(new_edges) > 0:
          tree.append(new_edges)
          final_vertices = list(set(edge[1] for edge in new_edges))
          vertices_seen.extend(final_vertices)
          new_edges = [
              edge
              for edge in edges
              if edge[0] in final_vertices
              and edge[1] not in vertices_seen
          ]
  
      return tree
  
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 10 for calling a global function with example usage: get_tree_starting_at(module, edges) and returns: tree