Reference - BaklavaJS
    Preparing search index...

    Function containsCycle

    • Checks whether a graph contains a cycle

      Parameters

      • graph: Graph

      Returns boolean

    • Checks whether the provided set of nodes and connections contains a cycle

      Parameters

      • nodes: readonly AbstractNode[]
      • connections: readonly IConnection[]

      Returns boolean