code: def generate_auth_manager_airflow_diagram():
      image_file = (MY_DIR / MY_FILENAME).with_suffix(".png")
  
      console.print(
          f"[bright_blue]Generating architecture image {image_file}"
      )
      with Diagram(
          name="",
          show=False,
          direction="LR",
          curvestyle="ortho",
          filename=MY_FILENAME,
      ):
          user = User("User")
          with Cluster("Airflow environment"):
              webserver = Custom(
                  "Webserver(s)", PYTHON_MULTIPROCESS_LOGO.as_posix()
              )
  
              with Cluster("Provider X"):
                  auth_manager = Custom(
                      "X auth manager",
                      PYTHON_MULTIPROCESS_LOGO.as_posix(),
                  )
              with Cluster("Core Airflow"):
                  auth_manager_interface = Custom(
                      "Auth manager\ninterface",
                      PYTHON_MULTIPROCESS_LOGO.as_posix(),
                  )
  
          (
              user
              >> Edge(
                  color="black",
                  style="solid",
                  reverse=True,
                  label="Access to the console",
              )
              >> webserver
          )
  
          (
              webserver
              >> Edge(
                  color="black",
                  style="solid",
                  reverse=True,
                  label="Is user authorized?",
              )
              >> auth_manager
          )
  
          (
              auth_manager
              >> Edge(
                  color="black",
                  style="dotted",
                  reverse=False,
                  label="Inherit",
              )
              >> auth_manager_interface
          )
  
      console.print(
          f"[green]Generating architecture image {image_file}"
      )
  
imports: from __future__ import annotations
  from pathlib import Path
  from diagrams import Cluster, Diagram, Edge
  from diagrams.custom import Custom
  from diagrams.onprem.client import User
  from rich.console import Console
label_desc: Use image node_id 1 for calling a global function with example usage: generate_auth_manager_airflow_diagram() without return types