code: def _get_connectome(
      adjacency_matrix,
      coords,
      threshold=None,
      marker_size=None,
      marker_color="auto",
      cmap=cm.cold_hot,
      symmetric_cmap=True,
  ):
      lines_metadata = _prepare_lines_metadata(
          adjacency_matrix,
          coords,
          threshold,
          cmap,
          symmetric_cmap,
      )
  
      markers_metadata = _prepare_markers_metadata(
          coords,
          marker_size,
          marker_color,
          marker_only=False,
      )
  
      return {
          **lines_metadata,
          **markers_metadata,
      }
  
file_path: nilearn/nilearn/plotting/html_connectome.py
imports: import json
  import numpy
  from matplotlib import cm
  from scipy import sparse
  from nilearn.plotting.html_document import HTMLDocument
  from ..None import datasets
  from .None import cm
  from .js_plotting_utils import add_js_lib, colorscale, encode, get_html_template, mesh_to_plotly, to_color_strings
label_desc: Use image node_id 6 for calling a global function with example usage: _get_connectome(adjacency_matrix, coords, threshold, marker_size, marker_color, cmap, symmetric_cmap) and returns: dict