code: def show_complex_colors(pipeline: Pipeline):
      """Show with colors defined by function."""
  
      def nodes_color(labels):
          if "xgboost" in labels:
              return {"xgboost": "tab:orange", None: "black"}
          else:
              return {"rf": "tab:green", None: "black"}
  
      pipeline.show(node_color=nodes_color)
  
file_path: FEDOT/examples/simple/pipeline_visualization.py
imports: from golem.core.log import default_log
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.pipelines.pipeline_builder import PipelineBuilder
label_desc: Use image node_id 5 for calling a global function with example usage: show_complex_colors(pipeline) and returns: dict, dict