code: def florentine_families_graph():
      # fmt: off
      src_indices = cp.array(
          [
              0, 1, 1, 1, 2, 2, 3, 3, 3, 4, 4, 4, 5, 6, 6, 6, 6, 7, 8, 8, 8, 8, 8, 8,
              9, 10, 10, 10, 11, 11, 11, 12, 12, 13, 13, 13, 13, 14, 14, 14,
          ],
          index_dtype,
      )
      dst_indices = cp.array(
          [
              8, 5, 6, 8, 4, 8, 6, 10, 13, 2, 10, 13, 1, 1, 3, 7, 14, 6, 0, 1, 2, 11,
              12, 14, 12, 3, 4, 13, 8, 13, 14, 8, 9, 3, 4, 10, 11, 6, 8, 11,
          ],
          index_dtype,
      )
      nodes = [
          "Acciaiuoli", "Albizzi", "Barbadori", "Bischeri", "Castellani", "Ginori",
          "Guadagni", "Lamberteschi", "Medici", "Pazzi", "Peruzzi", "Ridolfi",
          "Salviati", "Strozzi", "Tornabuoni"
      ]
      # fmt: on
      return nxcg.Graph.from_coo(
          15, src_indices, dst_indices, id_to_key=nodes
      )
  
file_path: cugraph/python/nx-cugraph/nx_cugraph/generators/social.py
imports: import cupy
  import numpy
  import nx_cugraph
  from ..utils import index_dtype, networkx_algorithm
label_desc: Use image node_id 2 for calling a global function with example usage: florentine_families_graph() and returns: nxcg