日本語
@eightkk/vue-weave / core / projectTimelineRows
Function: projectTimelineRows()
projectTimelineRows<
R>(input,state):TimelineRowsProjection<R>
Defined in: src/core/timelineView.ts:342
Project the rows of a view: the search and the column filters keep matching rows with their ancestors (a filter or sort on timelineLabelColumnId reads the row label), siblings are sorted stably by the sort rules with ties in the original order, and collapsed IDs that name no row are dropped. This is the row part of projectTimelineView, for applications that show the rows in their own tree table. Unknown filter, search and sort columns and unknown collapsed rows are reported as diagnostics, not thrown. Throws like createTimelineRowTree for invalid or duplicate row IDs, unknown parents and cycles, and an Error for a bar whose row is unknown. Inputs are not changed.
Type Parameters
R
R extends TimelineRow<unknown>