graph-toolkit
    Preparing search index...

    Interface TreewidthOptions

    Lets callers cancel long-running (exponential-time) algorithms; they throw the abort reason.

    interface TreewidthOptions {
        maxVertices?: number;
        signal?: AbortSignalLike;
    }

    Hierarchy (View Summary)

    Index
    maxVertices?: number

    Largest connected component accepted, default 16 (hard cap 24). The cost grows like $2^k$.