code: def make_tree_info(
      task: TaskOnKart,
      indent: str = "",
      last: bool = True,
      details: bool = False,
      abbr: bool = True,
      visited_tasks: Optional[Set[str]] = None,
      ignore_task_names: Optional[List[str]] = None,
  ) -> str:
      """
      Return a string representation of the tasks, their statuses/parameters in a dependency tree format
  
      This function has moved to `gokart.tree.task_info.make_task_info_as_tree_str`.
      This code is remained for backward compatibility.
  
      Parameters
      ----------
      - task: TaskOnKart
          Root task.
      - details: bool
          Whether or not to output details.
      - abbr: bool
          Whether or not to simplify tasks information that has already appeared.
      - ignore_task_names: Optional[List[str]]
          List of task names to ignore.
      Returns
      -------
      - tree_info : str
          Formatted task dependency tree.
      """
      return make_task_info_as_tree_str(
          task=task,
          details=details,
          abbr=abbr,
          ignore_task_names=ignore_task_names,
      )
  
file_path: gokart/gokart/info.py
imports: from logging import getLogger
  from typing import List, Optional, Set
  import luigi
  from gokart.task import TaskOnKart
  from gokart.tree.task_info import make_task_info_as_tree_str
label_desc: Use image node_id 1 for calling a global function with example usage: make_tree_info(task, indent, last, details, abbr, visited_tasks, ignore_task_names) and returns: make_task_info_as_tree_str