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).
forkedFromEntryId
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
forkedFromEntryIdto the new branch's first entry (or anchor).