commands/flowmaps#
Variables#
FLOW_MAP_SET#
constFLOW_MAP_SET:object
Defined in: commands/flowmaps.ts:415
What a set gives a FlowMap: its chunks, the whole list, and its
name (null for none), which a computed FlowMap refuses
(computed_flow_map); and computed, a new computation’s {chunks, provenance}, which only a computed FlowMap takes. A change of the
chunks changes the length of every virtual timeline playing them in the
same command.
Type Declaration#
chunks#
Parameters#
view#
target#
value#
unknown
path#
readonly PathSegment[]
changes#
Returns#
computed#
A computed FlowMap’s chunks and provenance replaced by those of a new
computation, {chunks, provenance}, the provenance holding an entry of
method inferred (invalid_value otherwise); its convention, name
and canonical kept. Only a computed FlowMap takes it (invalid_value
on one written by hand, whose chunks take a set).
Parameters#
view#
target#
value#
unknown
path#
readonly PathSegment[]
changes#
Returns#
name#
Parameters#
view#
target#
value#
unknown
path#
readonly PathSegment[]
changes#
Returns#
Functions#
addFlowMap()#
Defined in: commands/flowmaps.ts:157
Add a FlowMap into the root timeline it orders: {id?, timeline?, chunks, name?, canonical?, convention?, provenance?}, its timeline that root
(invalid_value for another), its ID the one given or the next of the
command’s ids, read where it will lie (readListed); a problem lies at
[<address key of into>, "flow_map", …].
Parameters#
view#
target#
value#
unknown
changes#
Returns#
addVirtualTimeline()#
Defined in: commands/flowmaps.ts:590
Add a virtual timeline into a block’s manifest: {id?, map, timeline, name?, through?, length?}, map and timeline required (invalid_value),
its unit, number type and length computed (computedAxis, lengthOf),
its ID the one given or the next of the command’s ids (the prefix of
its unit’s timeline class), read where it will lie (readListed): the
validators refuse a map or timeline naming nothing, a FlowMap applied
outside its root’s tree without through and a virtual timeline coming
from itself. A problem lies at [<address key of into>, "virtual_timeline", …].
Parameters#
view#
target#
value#
unknown
changes#
Returns#
isComputedFlowMap()#
isComputedFlowMap(
flowMap):boolean
Defined in: commands/flowmaps.ts:188
Whether a FlowMap is computed from the flow control of its timeline: it
states the convention it follows and a provenance entry of method
inferred.
Parameters#
flowMap#
{ }
Returns#
boolean
namedProblem()#
namedProblem(
manifest,id,kind,gone,path):Problem|undefined
Defined in: commands/flowmaps.ts:680
Why the elements removed of manifest cannot go with what else the
command removes, others (the IDs of the other targets in the same
block): a FlowMap while a virtual timeline left applies it, a virtual
timeline while another left comes from it or a FlowMap left names it as a
chunk; not_removable at path, naming what still names it. Every
FlowMap and virtual timeline is named by its name, else its ID, as
addressWords names it.
Parameters#
manifest#
id#
string
kind#
"flow_map" | "virtual_timeline"
gone#
ReadonlySet<string>
path#
readonly PathSegment[]
Returns#
Problem | undefined
setVirtualName()#
Defined in: commands/flowmaps.ts:641
A virtual timeline’s name set (null for none), read where it lies;
nothing written when it holds that name.
Parameters#
view#
block#
index#
number
value#
unknown
path#
readonly PathSegment[]