getVertexList() {
    let arr = [this.vertices.length];

    for (var i = 0; i < this.vertices.length; i++) {
      arr[i] = this.vertices[i].id;
    }

    return arr;
  }
Returns an array containing the vertex ids of this graph.

@returns {Number[]} An array containing all vertex ids of this graph.