(self, other)
return disjoint_union([self] + 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
Creates the disjoint union of two (or more) graphs.
Creates the disjoint union of two ( or more ) graphs .
def disjoint_union(self, 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([self] + other)
def disjoint_union ( self , other ) : if isinstance ( other , GraphBase ) : other = [ other ] return disjoint_union ( [ self ] + other )