code: def report_html_graph(logger, iteration=0):
      # type: (Logger, int) -> ()
      """
      reporting bokeh graph (html) to debug samples section
      :param logger: The task.logger to use for sending the plots
      :param iteration: The iteration number of the current reports
      """
      nodes = 8
      node_indices = list(range(nodes))
      plot = figure(
          title="Graph Layout Demonstration",
          x_range=(-1.1, 1.1),
          y_range=(-1.1, 1.1),
          tools="",
          toolbar_location=None,
      )
      graph = GraphRenderer()
      graph.node_renderer.data_source.add(node_indices, "index")
      graph.node_renderer.data_source.add(Spectral8, "color")
      graph.node_renderer.glyph = Ellipse(
          height=0.1, width=0.2, fill_color="color"
      )
      graph.edge_renderer.data_source.data = dict(
          start=[0] * nodes, end=node_indices
      )
      # start of layout code
      circ = [i * 2 * math.pi / 8 for i in node_indices]
      x = [math.cos(i) for i in circ]
      y = [math.sin(i) for i in circ]
      graph_layout = dict(zip(node_indices, zip(x, y)))
      graph.layout_provider = StaticLayoutProvider(
          graph_layout=graph_layout
      )
      plot.renderers.append(graph)
      output_file("graph.html")
      save(plot)
      logger.report_media(
          "html",
          "Graph_html",
          iteration=iteration,
          local_path="graph.html",
      )
  
file_path: clearml/examples/reporting/html_reporting.py
imports: import math
  import numpy
  from bokeh.models import ColumnDataSource, GraphRenderer, Ellipse, StaticLayoutProvider
  from bokeh.palettes import Spectral5, Spectral8
  from bokeh.plotting import figure, output_file, save
  from bokeh.sampledata.autompg import autompg_clean
  from bokeh.sampledata.periodic_table import elements
  from bokeh.transform import dodge, factor_cmap
  from clearml import Task, Logger
label_desc: Use image node_id 4 for calling a global function with example usage: report_html_graph(logger, iteration) without return types