code: def init_from_existing(previous_embedding, graph, relations):
      typed_relations = numba.typed.Dict.empty(
          numba.types.int32, numba.types.int32
      )
      for key, val in relations.items():
          typed_relations[np.int32(key)] = np.int32(val)
      return init_from_existing_internal(
          previous_embedding,
          graph.indptr,
          graph.indices,
          graph.data,
          typed_relations,
      )
  
imports: import numpy
  import numba
  from sklearn.base import BaseEstimator
  from sklearn.utils import check_array
  from umap.sparse import arr_intersect
  from umap.sparse import arr_union
  from umap.umap_ import UMAP, make_epochs_per_sample
  from umap.spectral import spectral_layout
  from umap.layouts import optimize_layout_aligned_euclidean
label_desc: Use image node_id 9 for calling a global function with example usage: init_from_existing(previous_embedding, graph, relations) and returns: init_from_existing_internal