• Get all the cycles ('strongly-connected-components') within the graph Read more

    Parameters

    • graph: Readonly<{
          vertices: IMapImmutable<string, Readonly<{
              id: string;
              out: readonly Readonly<{
                  id: string;
                  weight?: number;
              }>[];
          }>>;
      }>

    Returns Collections.Graphs.Directed.Vertex[][]