class_docstr: Baseclass for all graph layout algorithms.
class_docstr_tok: ["Baseclass","for","all","graph","layout","algorithms","."]
docstr: This method takes two dataframes representing a graph's nodes
  and edges respectively. For the nodes dataframe, the only
  column accessed is the specified `id` value (or the index if
  no 'id'). For the edges dataframe, the columns are `id`,
  `source`, `target`, and (optionally) `weight`.
  
  Each layout algorithm will use the two dataframes as appropriate to
  assign positions to the nodes. Upon generating positions, this
  method will return a copy of the original nodes dataframe with
  two additional columns for the x and y coordinates.
docstr_tok: ["This","method","takes","two","dataframes","representing","a","graph","'s","nodes","and","edges","respectively",".","For","the","nodes","dataframe",",","the","only","column","accessed","is","the","specified","`","id","`","value","(","or","the","index","if","no","'id","'",")",".","For","the","edges","dataframe",",","the","columns","are","`","id","`",",","`","source","`",",","`","target","`",",","and","(","optionally",")","`","weight","`",".","Each","layout","algorithm","will","use","the","two","dataframes","as","appropriate","to","assign","positions","to","the","nodes",".","Upon","generating","positions",",","this","method","will","return","a","copy","of","the","original","nodes","dataframe","with","two","additional","columns","for","the","x","and","y","coordinates","."]
code: def __call__(self, nodes, edges, **params):
      """
      This method takes two dataframes representing a graph's nodes
      and edges respectively. For the nodes dataframe, the only
      column accessed is the specified `id` value (or the index if
      no 'id'). For the edges dataframe, the columns are `id`,
      `source`, `target`, and (optionally) `weight`.
  
      Each layout algorithm will use the two dataframes as appropriate to
      assign positions to the nodes. Upon generating positions, this
      method will return a copy of the original nodes dataframe with
      two additional columns for the x and y coordinates.
      """
      return NotImplementedError
  
file_path: datashader/datashader/layout.py
imports: from __future__ import annotations
  import numpy
  import param
  import scipy.sparse
label_desc: Use image node_id 1 for calling the LayoutAlgorithm obj's underlying member method code with example usage: obj.__call__(nodes, edges) and returns: NotImplementedError