docstr: Add nodes information to the Graph.
  
  Parameters
  ----------
  
  nodes : list or cudf.Series
      The nodes of the graph to be stored. If bipartite and multipartite
      arguments are not passed, the nodes are considered to be a list of
      all the nodes present in the Graph.
  
  bipartite : str, optional (default=None)
      Sets the Graph as bipartite. The nodes are stored as a set of nodes
      of the partition named as bipartite argument.
  
  multipartite : str, optional (default=None)
      Sets the Graph as multipartite. The nodes are stored as a set of
      nodes of the partition named as multipartite argument.
docstr_tok: ["Add","nodes","information","to","the","Graph",".","Parameters","--","--","--","--","--","nodes",":","list","or","cudf.Series","The","nodes","of","the","graph","to","be","stored",".","If","bipartite","and","multipartite","arguments","are","not","passed",",","the","nodes","are","considered","to","be","a","list","of","all","the","nodes","present","in","the","Graph",".","bipartite",":","str",",","optional","(","default=None",")","Sets","the","Graph","as","bipartite",".","The","nodes","are","stored","as","a","set","of","nodes","of","the","partition","named","as","bipartite","argument",".","multipartite",":","str",",","optional","(","default=None",")","Sets","the","Graph","as","multipartite",".","The","nodes","are","stored","as","a","set","of","nodes","of","the","partition","named","as","multipartite","argument","."]
code: def add_nodes_from(self, nodes, bipartite=None, multipartite=None):
      """
      Add nodes information to the Graph.
  
      Parameters
      ----------
  
      nodes : list or cudf.Series
          The nodes of the graph to be stored. If bipartite and multipartite
          arguments are not passed, the nodes are considered to be a list of
          all the nodes present in the Graph.
  
      bipartite : str, optional (default=None)
          Sets the Graph as bipartite. The nodes are stored as a set of nodes
          of the partition named as bipartite argument.
  
      multipartite : str, optional (default=None)
          Sets the Graph as multipartite. The nodes are stored as a set of
          nodes of the partition named as multipartite argument.
  
      """
      if self._Impl is None:
          self._Impl = npartiteGraphImpl(self.graph_properties)
      if bipartite is None and multipartite is None:
          self._Impl._nodes["all_nodes"] = cudf.Series(nodes)
      else:
          self._Impl.add_nodes_from(
              nodes, bipartite=bipartite, multipartite=multipartite
          )
  
imports: import numpy
  from .graph_implementation import simpleGraphImpl, simpleDistributedGraphImpl, npartiteGraphImpl
  import cudf
  import dask_cudf
  from cugraph.utilities.utils import import_optional
label_desc: Use image node_id 4 for calling the NPartiteGraph obj's underlying member method code with example usage: obj.add_nodes_from(nodes, bipartite, multipartite) without return types