class_docstr: Base class for vertices.
  
  **Attributes**
      e (list[Edge]): list of edges associated with this vertex.
docstr: Returns the neighbors of this vertex. List of neighbor vertices in all directions (default) or in filtered f_io direction (>0 means outward).
  
  :param direction:
      - 0: parent and children
      - -1: parents
      - +1: children
  :return: list of vertices
code: def neighbors(self, direction=0):
      """
      Returns the neighbors of this vertex. List of neighbor vertices in all directions (default) or in filtered f_io direction (>0 means outward).
  
      :param direction:
          - 0: parent and children
          - -1: parents
          - +1: children
      :return: list of vertices
      """
      arr = []
      if direction <= 0:
          arr += [e.v[0] for e in self.e_in()]
      if direction >= 0:
          arr += [e.v[1] for e in self.e_out()]
      return arr
  
file_path: pygraphistry/graphistry/layout/graph/vertexBase.py
label_desc: Use image node_id 6 for calling the VertexBase obj's underlying member method code with example usage: obj.neighbors(direction) and returns: arr