code: def _disjoint_union(graph, other):
      """Creates the disjoint union of two (or more) graphs.
  
      @param other: graph or list of graphs to be united with the current one.
      @return: the disjoint union graph
      """
      if isinstance(other, GraphBase):
          other = [other]
      return disjoint_union([graph] + other)
  
file_path: python-igraph/src/igraph/operators/methods.py
imports: from igraph._igraph import GraphBase, Vertex, Edge
  from igraph.seq import VertexSeq, EdgeSeq
  from igraph.operators.functions import disjoint_union, union, intersection
label_desc: Use image node_id 1 for calling a global function with example usage: _disjoint_union(graph, other) and returns: disjoint_union