日本語
@eightkk/vue-weave / core / timelineWbsCodes
Function: timelineWbsCodes()
timelineWbsCodes(
rows):Map<string,string>
Defined in: src/core/rowHierarchy.ts:9
Outline (WBS) codes of a row hierarchy in tree preorder: roots are numbered "1", "2", … and children append their one-based position among their siblings ("1.2", "1.2.1"). Sibling order is the order of the rows in the array. Throws an Error for duplicate IDs, unknown parents and cycles.
Parameters
rows
readonly TimelineRow<unknown>[]
Returns
Map<string, string>