• Checks whether the graph has a cycle.

    Parameters

    • graph: Graph

      To be checked,

    Returns boolean

    Whether a cycle exists.

Generated using TypeDoc