code: def algo_list(args):
      print(
          "+-----------------+------------+-----------+--------=-------------+------------------------------------------+"
      )
      print(
          "|      Name       |    Type    |   source  |      Class Name      |               Module Name                |"
      )
      print(
          "+-----------------+------------+-----------+----------------------+------------------------------------------+"
      )
      MAX_MODULE_NAME = 38
      for meta in package_utils.get_all_algo_meta():
          module_name, class_name = meta.class_name.rsplit(".", 1)
          if len(module_name) > MAX_MODULE_NAME:
              module_name = module_name[: MAX_MODULE_NAME - 3] + "..."
          fields = [
              meta.name,
              meta.algo_type,
              "nni" if meta.is_builtin else "user",
              class_name,
              module_name,
          ]
          print(
              "| {:15s} | {:10s} | {:9s} | {:20s} | {:40s} |".format(
                  *fields
              )
          )
      print(
          "+-----------------+------------+-----------+----------------------+------------------------------------------+"
      )
  
file_path: nni/nni/tools/nnictl/algo_management.py
imports: import importlib
  import json
  import nni
  from nni.tools import package_utils
  from .common_utils import print_error, print_green, get_yml_content
label_desc: Use image node_id 6 for calling a global function with example usage: algo_list(args) without return types