IFClite TypeScript API
    Preparing search index...

    Function buildBranchTree

    • Build a branch-tree view from a sidecar. Single pass: collect branches + entries, link entries to their predecessor on the same branch, and emit fork edges from the parent branch's forkedFromEntryId to the new branch's first entry (or anchor).

      Parameters

      Returns Promise<BranchTree>