class_docstr: A DummyVertex is used for edges that span over several layers, it's inserted in every inner layer.
  
  **Attributes**
      - view (viewclass): since a DummyVertex is acting as a Vertex, it must have a view.
      - ctrl (list[_sugiyama_attr]): the list of associated dummy vertices.
docstr: Reflect the Vertex method and returns the list of adjacent vertices (possibly dummy) in the given direction.
  :param direction: +1 for the next layer (children) and -1 (parents) for the previous
docstr_tok: ["Reflect","the","Vertex","method","and","returns","the","list","of","adjacent","vertices","(","possibly","dummy",")","in","the","given","direction",".",":","param","direction",":","+1","for","the","next","layer","(","children",")","and","-1","(","parents",")","for","the","previous"]
code: def neighbors(self, direction: int):
      """
      Reflect the Vertex method and returns the list of adjacent vertices (possibly dummy) in the given direction.
      :param direction: +1 for the next layer (children) and -1 (parents) for the previous
      """
      # assert direction == +1 or direction == -1
      assert isinstance(self.layer, int)
      v = self.control_vertices.get(int(self.layer) + direction)
      return [v] if v is not None else []
  
file_path: pygraphistry/graphistry/layout/utils/dummyVertex.py
imports: from .rectangle import Rectangle
  from .layoutVertex import LayoutVertex
label_desc: Use image node_id 2 for calling the DummyVertex obj's underlying member method code with example usage: obj.neighbors(direction) and returns: unknown