code: def vertex_nodes(self):
          
          nodes = np.vstack([e.nodes for e in self.entities])
          return nodes
docs: Get a list of which vertex indices are nodes,
          which are either endpoints or points where the
          entity makes a direction change.
  
          Returns
          --------------
          nodes : (n, 2) int
            Indexes of self.vertices which are nodes