predecessors(v) {
    var predsV = this._preds[v];
    if (predsV) {
      return Object.keys(predsV);
    }
  }
Return all nodes that are predecessors of the specified node or undefined if node v is not in
the graph. Behavior is undefined for undirected graphs - use neighbors instead.
Complexity: O(|V|).