Protected_Protected_Protected_Protected_Protected_Protected_Protected_ProtectedcancelProtected ReadonlyloggerReadonlyonProtected ReadonlyonReadonlyonFired with the index of an entry the view should scroll to and select.
Protected ReadonlyonProtected ReadonlyscmProtected ReadonlyscmProtected ReadonlytoProtected ReadonlytoReturns true once the model has completed at least one load attempt (regardless of whether history items were found). This is used by the widget to distinguish "still initializing" from "no history".
The explicitly picked ref ids filtering the graph, or undefined in auto mode.
ProtectedpageThe configured page size (scm.graph.pageSize).
How the changes of an expanded history item are laid out.
ProtectedgetReturns the refs to pass to provideHistoryItems: the explicitly picked
ref ids when a filter is active, otherwise (auto mode) the revisions of
the current branch ref, its remote tracking ref, and the merge-base ref.
Providers walk history starting from these refs.
ProtectedindexProtectedinitWhether the current history item ref is part of the graph's filter. Always true in auto mode, which includes the current ref.
ProtectedloadProtectedpruneDrops refs that no longer exist from the explicit filter, so that deleting or renaming a filtered ref does not leave the graph stuck requesting history for it. When the last filtered ref is removed, the filter falls back to auto mode.
ProtectedreloadClears the loaded entries and loads the first page again from the current provider.
ProtectedresolveResolves the ref-based color index of an item from its references, preferring current (0) over remote (1) over base (2). Refs excluded by an explicit filter get no role color, mirroring VS Code's color map.
Locates the commit the current history item ref points at, loading
further pages while it is outside the loaded range, and asks the view to
reveal it. Returns its index, or undefined when there is no current
history item ref or the commit is not part of the graph (e.g. the ref is
excluded by the filter).
Sets the ref ids to filter the graph by (undefined returns to auto
mode) and reloads the graph.
Switches how the changes of an expanded history item are laid out. This only affects rendering, so the loaded history is kept as is.
Explicitly picked ref ids to filter the graph by;
undefined= auto (current/remote/base).