children#
Interfaces#
ChildrenFit#
Defined in: layout/src/children.ts:13
The first fit of one children band (sections 6.3 and 6.4, Children).
Properties#
count#
readonlycount:number
Defined in: layout/src/children.ts:17
The number C of rows its children fill; 0 for an absent band.
row#
readonlyrow:ReadonlyMap<Entry,number>
Defined in: layout/src/children.ts:15
The row of each child line the band places, from 1.
Fitted#
Defined in: layout/src/children.ts:37
One timeline drawn with a line of its own after the first pass (section 6.4).
Properties#
extent#
readonlyextent:Extent
Defined in: layout/src/children.ts:45
The extent by which its parent’s first fit places it (section 6.4, Children), from the root’s
start: Unplaced.lineOnly where aligned bands place it, else Unplaced.whole, the root’s
whole. Its band records span it.
fit#
readonlyfit:ChildrenFit
Defined in: layout/src/children.ts:47
Its children band’s first fit.
prepared#
readonlyprepared:PreparedTimeline
Defined in: layout/src/children.ts:39
Its bands with their first fits placed: alone, or together in a row of one band order.
Unplaced#
Defined in: layout/src/children.ts:21
One timeline drawn with a line of its own, prepared alone, with its two extents (section 6.4, Children).
Properties#
lineOnly#
readonlylineOnly:Extent
Defined in: layout/src/children.ts:33
Its extent where aligned bands place it: the smallest interval holding its line’s extent and this extent of every child its children band places, at any depth.
prepared#
readonlyprepared:PreparedTimeline
Defined in: layout/src/children.ts:23
Its bands with their first fits placed alone (prepareTimeline).
whole#
readonlywhole:Extent
Defined in: layout/src/children.ts:28
Its extent where bands that are not aligned place it: the smallest interval holding its own extent and the whole extent of every child its children band places, at any depth.
Functions#
fitChildren()#
fitChildren(
lines,extentOf):ChildrenFit
Defined in: layout/src/children.ts:57
The first fit of a children band (section 6.4, Children): the child lines
lines, in the order PreparedTimeline.children gives them, each placed
as a whole by its extent extentOf into the lowest row holding no child
whose extent conflicts with it (section 6.3). Each band fills its own rows,
from 1, whatever the rows of its timeline’s parent.
Parameters#
lines#
readonly Entry[]
extentOf#
(line) => Extent
Returns#
prepareTimelines()#
Defined in: layout/src/children.ts:73
Every timeline of a member drawing drawn with a line of its own, from the
root down through PreparedTimeline.children, prepared alone
(prepareTimeline), and, from the deepest up, its two extents
(wholeExtent). Keyed by each line’s entry, the root’s included; uses no
distance.