class_docstr: A GPU Graph Object (Base class of other graph types)
  
  Parameters
  ----------
  m_graph : cuGraph.MultiGraph object or None (default=None)
      Initialize the graph from a cugraph.MultiGraph object
  directed : boolean, optional (default=False)
      Indicated is the graph is directed.
  
  Examples
  --------
  >>> # undirected graph
  >>> G = cugraph.Graph()
  >>> # directed graph
  >>> G = cugraph.Graph(directed=True)
class_docstr_tok: ["A","GPU","Graph","Object","(","Base","class","of","other","graph","types",")","Parameters","--","--","--","--","--","m_graph",":","cuGraph.MultiGraph","object","or","None","(","default=None",")","Initialize","the","graph","from","a","cugraph.MultiGraph","object","directed",":","boolean",",","optional","(","default=False",")","Indicated","is","the","graph","is","directed",".","Examples","--","--","--","--",">",">",">","#","undirected","graph",">",">",">","G","=","cugraph.Graph","(",")",">",">",">","#","directed","graph",">",">",">","G","=","cugraph.Graph","(","directed=True",")"]
docstr: Add nodes information to the Graph.
  
  Parameters
  ----------
  nodes : list or cudf.Series
      The nodes of the graph to be stored.
docstr_tok: ["Add","nodes","information","to","the","Graph",".","Parameters","--","--","--","--","--","nodes",":","list","or","cudf.Series","The","nodes","of","the","graph","to","be","stored","."]
code: def add_nodes_from(self, nodes):
      """
      Add nodes information to the Graph.
  
      Parameters
      ----------
      nodes : list or cudf.Series
          The nodes of the graph to be stored.
      """
      self._Impl._nodes["all_nodes"] = cudf.Series(nodes)
  
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 26 for calling the Graph obj's underlying member method code with example usage: obj.add_nodes_from(nodes) without return types