index#
Interfaces#
ElementKey#
Defined in: core/src/manifest/elements.ts:58
What a selector can test on an element.
Properties#
address#
readonlyaddress:ElementAddress
Defined in: core/src/manifest/elements.ts:62
Its address: {} for the block.
class#
readonlyclass:string|null
Defined in: core/src/manifest/elements.ts:69
Its timeline’s class or a map’s type; null for a band and for what belongs to no timeline.
coordinates?#
readonlyoptionalcoordinates?:StampCoordinate
Defined in: core/src/manifest/elements.ts:87
For a wedge or a label of a named timestamp’s stack, whether it marks the timestamp’s primary
coordinate or a secondary one (section 2), which the selector member coordinates tests;
absent on every other element, a cross-section line included.
domain#
readonlydomain:Domain|null
Defined in: core/src/manifest/elements.ts:66
null for what belongs to no timeline, a band, and a map whose target_unit is null.
facet#
readonlyfacet:Facet|null
Defined in: core/src/manifest/elements.ts:71
The facet a band draws; null for every other element.
inside#
readonlyinside: readonlyElementType[]
Defined in: core/src/manifest/elements.ts:81
Its holder chain: the types of the elements holding it in the tree
(sections 2.1 and 8.1), outermost first, which the selector member
inside tests. A key’s chain is its holder’s chain followed by the
holder’s type, so build keys with elementKey, textKey, bandKey
and unownedKey from the holder’s key; a segment that is not a segment
line (type null) adds nothing. Two drawings of one address differ here
only.
modality#
readonlymodality:Modality|null
Defined in: core/src/manifest/elements.ts:67
timeline#
readonlytimeline:string|null
Defined in: core/src/manifest/elements.ts:64
The timeline it belongs to; null for the block, a group’s frame and a title.
type#
readonlytype:ElementType|null
Defined in: core/src/manifest/elements.ts:60
null for a segment, a node of the tree that no selector naming element matches.
types?#
readonlyoptionaltypes?: readonlystring[]
Defined in: core/src/manifest/elements.ts:92
For a region stating a type, the classes it names (regionClasses), each in every spelling
the selector member class matches (section 2.3); absent on every other element.
Type Aliases#
Domain#
Domain =
"graphical"|"logical"|"physical"
Defined in: core/src/manifest/elements.ts:53
The domain of a timeline: graphical, logical or physical time.
Modality#
Modality =
"continuous"|"discrete"
Defined in: core/src/manifest/elements.ts:55
The modality of a timeline’s axis: continuous or discrete.
Variables#
name#
constname:"@timetoalign/tilie-layout"
Defined in: layout/src/index.ts:12
@timetoalign/tilie-layout: the drawing of one TimeToShare manifest.
draw(manifest, placement, layers, metrics) implements TimeToShare’s
drawing specification (docs/drawing.md, sections 1 to 6 and 8): the
cascade of style layers, exact positions, text measured from the font’s
advance widths, the layout of bands and rows, and the block of section 8
that holds every manifest, each root in its card. Pure and
deterministic.
References#
abscissaOf#
Re-exports abscissaOf
AnchorElement#
Re-exports AnchorElement
anchorLine#
Re-exports anchorLine
AnchorLine#
Re-exports AnchorLine
AxisMap#
Re-exports AxisMap
AxisMarker#
Re-exports AxisMarker
AxisSegment#
Re-exports AxisSegment
AxisTimestamp#
Re-exports AxisTimestamp
BlockElement#
Re-exports BlockElement
Bounds#
Re-exports Bounds
boundsOf#
Re-exports boundsOf
brace#
Re-exports brace
Cascade#
Re-exports Cascade
Circle#
Re-exports Circle
cleanText#
Re-exports cleanText
crossedLines#
Re-exports crossedLines
crossSection#
Re-exports crossSection
CrossSection#
Re-exports CrossSection
crossSectionSegment#
Re-exports crossSectionSegment
CrossSectionSegment#
Re-exports CrossSectionSegment
Cut#
Re-exports Cut
DEFAULT_LAYER#
Re-exports DEFAULT_LAYER
DEFAULT_PLACEMENT#
Re-exports DEFAULT_PLACEMENT
DEFAULT_VIEW#
Re-exports DEFAULT_VIEW
draw#
Re-exports draw
Drawing#
Re-exports Drawing
DrawnArrangement#
Re-exports DrawnArrangement
DrawnAxis#
Re-exports DrawnAxis
DrawnBox#
Re-exports DrawnBox
DrawnElement#
Re-exports DrawnElement
ElementRange#
Re-exports ElementRange
ElisionElement#
Re-exports ElisionElement
ElisionExposure#
Re-exports ElisionExposure
EllipsisElement#
Re-exports EllipsisElement
ExposedGap#
Re-exports ExposedGap
ForkBranch#
Re-exports ForkBranch
ForkElement#
Re-exports ForkElement
frameMemberLines#
Re-exports frameMemberLines
GAP_LINE_STROKE#
Re-exports GAP_LINE_STROKE
GapOrigin#
Re-exports GapOrigin
groupCrossSections#
Re-exports groupCrossSections
groupSpans#
Re-exports groupSpans
INITIAL_STYLE#
Re-exports INITIAL_STYLE
JumpElement#
Re-exports JumpElement
LeaderElement#
Re-exports LeaderElement
lineAxes#
Re-exports lineAxes
LineAxis#
Re-exports LineAxis
LineElement#
Re-exports LineElement
LineEnd#
Re-exports LineEnd
lineGeometry#
Re-exports lineGeometry
LineGeometry#
Re-exports LineGeometry
LineMark#
Re-exports LineMark
LineStart#
Re-exports LineStart
manifestLayer#
Re-exports manifestLayer
MapElement#
Re-exports MapElement
MarkerElement#
Re-exports MarkerElement
packed#
Re-exports packed
PackedDirection#
Re-exports PackedDirection
PackedOffset#
Re-exports PackedOffset
PackedSize#
Re-exports PackedSize
Packing#
Re-exports Packing
PathCommand#
Re-exports PathCommand
Placement#
Re-exports Placement
Point#
Re-exports Point
readsAcrossGroup#
Re-exports readsAcrossGroup
RectElement#
Re-exports RectElement
RegionElement#
Re-exports RegionElement
Run#
Re-exports Run
ShownCoordinate#
Re-exports ShownCoordinate
Span#
Re-exports Span
StoredWidth#
Re-exports StoredWidth
Style#
Re-exports Style
TextElement#
Re-exports TextElement
TextMeasure#
Re-exports TextMeasure
times#
Re-exports times
timestampSegments#
Re-exports timestampSegments
VerticalLineElement#
Re-exports VerticalLineElement
View#
Re-exports View
wedgeAt#
Re-exports wedgeAt
WedgeCorner#
Re-exports WedgeCorner
WedgeMark#
Re-exports WedgeMark
wedgePoints#
Re-exports wedgePoints
widthAs#
Re-exports widthAs
WidthForm#
Re-exports WidthForm