FlowMapSection

timelines.FlowMapSection(source_start, source_end, target_start, label=None)

A section mapping in a FlowMap.

Represents one contiguous section that maps from a source coordinate range to a target coordinate range. Used internally by FlowMap for coordinate transformation.

In the context of flow control: - Source coordinates: The “folded” timeline (with repeats/jumps compressed) - Target coordinates: The “unfolded” timeline (linear playthrough order)

Attributes

Name Type Description
source_start Fraction Start coordinate in source timeline (inclusive).
source_end Fraction End coordinate in source timeline (exclusive).
target_start Fraction Start coordinate in target timeline.
label str | None Identity of the section — the source region/section name it was built from, or None when the section names nothing (e.g. built from a bare coordinate pair). Unfolding uses this to name the child timeline and Region it produces for the section.