class_docstr: Vertex stores in and out edge connections to other Vertex instances.
  
  The Vertex class supports serialization to a JSON data format expected by the
  client side representation.  When serializing, it generates the following
  fields:
    in_edge_index: The list of directed edge indices into the Vertex.
    out_edge_index: The list of directed edge indices from the Vertex.
docstr: Initialize the Vertex.
  
  Args:
    idx: The index of the vertex.
docstr_tok: ["Initialize","the","Vertex",".","Args",":","idx",":","The","index","of","the","vertex","."]
code: def __init__(self, idx):
      """Initialize the Vertex.
  
      Args:
        idx: The index of the vertex.
      """
      self.idx = idx
      self.in_edges = []
      self.out_edges = []
  
file_path: tensor2tensor/tensor2tensor/insights/graph.py
label_desc: Use image node_id 1 to create a new Vertex object from inherited base classes: object with example: obj = Vertex(idx)