code: def truncated_cube_graph(create_using=None):
      graph_class, inplace = _create_using_class(create_using)
      if graph_class.is_directed():
          raise nx.NetworkXError("Directed Graph not supported")
      # fmt: off
      src_indices = cp.array(
          [
              0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7,
              8, 8, 8, 9, 9, 9, 10, 10, 10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 14, 14,
              14, 15, 15, 15, 16, 16, 16, 17, 17, 17, 18, 18, 18, 19, 19, 19, 20, 20,
              20, 21, 21, 21, 22, 22, 22, 23, 23, 23,
          ],
          index_dtype,
      )
      dst_indices = cp.array(
          [
              1, 2, 4, 0, 11, 14, 0, 3, 4, 2, 6, 8, 0, 2, 5, 4, 16, 18, 3, 7, 8, 6, 10,
              12, 3, 6, 9, 8, 17, 20, 7, 11, 12, 1, 10, 14, 7, 10, 13, 12, 21, 22, 1,
              11, 15, 14, 19, 23, 5, 17, 18, 9, 16, 20, 5, 16, 19, 15, 18, 23, 9, 17,
              21, 13, 20, 22, 13, 21, 23, 15, 19, 22,
          ],
          index_dtype,
      )
      # fmt: on
      G = graph_class.from_coo(
          24, src_indices, dst_indices, name="Truncated Cube Graph"
      )
      if inplace:
          return create_using._become(G)
      return G
  
imports: import cupy
  import networkx
  import nx_cugraph
  from ..utils import index_dtype, networkx_algorithm
  from ._utils import _IS_NX32_OR_LESS, _create_using_class
label_desc: Use image node_id 19 for calling a global function with example usage: truncated_cube_graph(create_using) and returns: G, create_using