Graphity for TypeScript 3.0.0
    Preparing search index...

    The strong bridges and strong articulation points of a graph, as Components.strongConnectivityOf returns them.

    A strong bridge is an edge whose removal increases the number of SCCs (strongly connected components), and a strong articulation point is a node whose removal does the same. Strong bridges lie inside SCCs of two or more nodes. Strong articulation points lie inside SCCs of three or more nodes, since without one node of an SCC of two, the other still forms an SCC. So a graph without cycles has neither, and a self-loop is never a strong bridge.

    The edges are followed in their direction, as by Components.sccsOf: the edges a -> b and b -> a are two edges, and both are strong bridges of the SCC they form. Biconnectivity has the counterparts for a graph read as undirected. Here, in the control flow of the method load, the loop splits into several SCCs without header, body or next, but not without then:

    const strong = Components.strongConnectivityOf(BiAdjacentGraph.of(cfg));
    const strongBridges = strong.strongBridges;
    // strongBridges: header -> body, body -> then, then -> next, next -> header
    const strongArticulationPoints = strong.strongArticulationPoints;
    // strongArticulationPoints: [1, 2, 4] - header, body and next

    Instances are immutable.

    Memory: up to 28 x nodeCount bytes.

    Index