static calculatedSccToPlainObject(sccs) {
    const obj = {};
    sccs.forEach((scc, index) => {
      scc.forEach((node) => {
        obj[node] = index;
      });
    });
    return obj;
  }
@returns {Record<string, number>} for each key, its SCC's index