code: def get_colors_by_tags(labels: Iterable[str]) -> LabelsColorMapType:
      tags_map = get_visualization_tags_map()
      new_map = {}
      for tag, operations in tags_map.items():
          new_map.update({operation: tag for operation in operations})
      tags_map = new_map
  
      palette = get_palette_based_on_default_tags()
      return {label: palette[tags_map.get(label)] for label in labels}
  
file_path: FEDOT/fedot/core/visualisation/pipeline_specific_visuals.py
imports: from __future__ import annotations
  from typing import Any, Dict, Iterable, Optional
  import numpy
  import seaborn
  from golem.core.dag.graph import Graph
  from golem.core.optimisers.opt_history_objects.opt_history import OptHistory
  from golem.visualisation.graph_viz import GraphVisualizer
  from golem.visualisation.opt_history.utils import LabelsColorMapType
  from golem.visualisation.opt_viz import OptHistoryVisualizer
  from fedot.core.repository.operation_types_repository import OperationTypesRepository, get_visualization_tags_map
label_desc: Use image node_id 2 for calling a global function with example usage: get_colors_by_tags(labels) and returns: unknown