inspector/flow#
Interfaces#
DestinationRow#
Defined in: editor/src/inspector/flow.ts:147
One destination of a jump as the Properties tab lists it.
Properties#
at#
readonlyat:string|null
Defined in: editor/src/inspector/flow.ts:157
The coordinate it reaches on the jump’s timeline, in its pretty text; null for no place.
conditions#
readonlyconditions:string
Defined in: editor/src/inspector/flow.ts:159
Its conditions and effects in words, joined by ; ; empty for none.
id#
readonlyid:string|null
Defined in: editor/src/inspector/flow.ts:155
The ID of the element it leads to; null for no element.
index#
readonlyindex:number
Defined in: editor/src/inspector/flow.ts:149
Its position in the jump’s targets.
marks#
readonlymarks: readonlyAddress[]
Defined in: editor/src/inspector/flow.ts:168
The addresses choosing it selects: the jump, whose arcs it marks, then
the element it leads to, where one stands there (destinationPlace):
the jump target, the region, the timeline or child, the section break
starting its section, of whichever timeline of the tree lists it.
name#
readonlyname:string|null
Defined in: editor/src/inspector/flow.ts:153
The name of the element it leads to; null where that has none, or for no element.
notation#
readonlynotation:string
Defined in: editor/src/inspector/flow.ts:161
How it is notated: its manifestation and its label in words, joined by ; ; empty for neither.
place#
readonlyplace:string
Defined in: editor/src/inspector/flow.ts:151
What its place is: jump target, region, timeline, child timeline, start of its section, by 4 ♩, or 'X', which names no place.
FlowProvenance#
Defined in: editor/src/inspector/flow.ts:294
The provenance of a flow-control element as the tab shows it.
Properties#
beliefs#
readonlybeliefs:EntryLine|null
Defined in: editor/src/inspector/flow.ts:302
The beliefs of every entry together, in their order, each actor once
(an actor’s first belief): the line the belief buttons stand under;
null for an element without provenance.
entries#
readonlyentries: readonlyEntryLine[]
Defined in: editor/src/inspector/flow.ts:296
One line per entry, in the element’s order: how the element was made.
mine#
readonlymine:"true"|"false"|"unlikely"|null
Defined in: editor/src/inspector/flow.ts:304
The user’s own belief; null for none.
FlowRow#
Defined in: editor/src/inspector/flow.ts:105
One read-only row of a flow-control element.
Properties#
label#
readonlylabel:string
Defined in: editor/src/inspector/flow.ts:106
value#
readonlyvalue:string
Defined in: editor/src/inspector/flow.ts:107
FlowSubject#
Defined in: editor/src/inspector/flow.ts:50
The one flow-control element a selection names.
Properties#
block#
readonlyblock:Block
Defined in: editor/src/inspector/flow.ts:51
element#
readonlyelement:object
Defined in: editor/src/inspector/flow.ts:58
subject#
readonlysubject:Subject
Defined in: editor/src/inspector/flow.ts:55
The selected subject naming the element, itself or by its label.
target#
readonlytarget:Address
Defined in: editor/src/inspector/flow.ts:53
The element’s own address in its block.
timeline#
readonlytimeline:object
Defined in: editor/src/inspector/flow.ts:57
The timeline listing it, on whose axis its coordinate and every by lie.
Functions#
beliefCommand()#
beliefCommand(
__namedParameters,user,belief,day):SetCommand
Defined in: editor/src/inspector/flow.ts:340
The set recording user’s belief in the element on day
(YYYY-MM-DD): the element’s belief, the user named as in every
statement (statedBy). Core puts it into the element’s provenance, in
place of the user’s earlier one, and changes nothing else of it. A belief
false rejects the element; another one believes it again.
Parameters#
__namedParameters#
user#
belief#
"true" | "false" | "unlikely"
day#
string
Returns#
destinationRows()#
destinationRows(
flow):DestinationRow[]
Defined in: editor/src/inspector/flow.ts:184
The destinations of the jump flow names, one row each in the order of
its targets (none for any other role): where its place leads
(destinationPlace), the element standing there by its kind, name and
ID, the coordinate it reaches; then its conditions and effects, in the
order passes, repeat_count, after, determined false, reset false;
then its manifestation and its label.
Parameters#
flow#
Returns#
flowOf()#
flowOf(
subjects):FlowSubject|null
Defined in: editor/src/inspector/flow.ts:87
The flow-control element the selection names: one element every subject
names, itself or by its label, where the others are only what its
destinations mark (destinationRows: the jump target, region, timeline or
section break a destination leads to), as choosing a destination selects
them; the first such element in selection order. null for no selection,
for anything else, and for several elements.
Parameters#
subjects#
readonly Subject[]
Returns#
FlowSubject | null
flowProvenance()#
flowProvenance(
__namedParameters,user,names):FlowProvenance
Defined in: editor/src/inspector/flow.ts:308
The entries of an element’s provenance as lines (lineOf), and the beliefs they hold together.
Parameters#
__namedParameters#
user#
names#
Returns#
flowRows()#
flowRows(
flow,reading):FlowRow[]
Defined in: editor/src/inspector/flow.ts:270
The read-only rows of a flow-control element, in order: its role, its
coordinate, its manifestation where it states one, when a break ends the
flow where it states that (ends), and its status under reading
(readingOf) where it is not read or rejected by someone. A jump’s
destinations are rows of their own (destinationRows).
Parameters#
flow#
reading#
Returns#
FlowRow[]
readingOf()#
readingOf(
view,block,user):FlowReading
Defined in: editor/src/inspector/flow.ts:242
Which flow-control elements of block the flows played for user read
(core’s flowReading): the user’s belief where they recorded one, else
the block’s belief filter, its MatchClaim filter’s belief states. The
one reading the editor derives, which the Properties tab’s status shows
and the client’s flow routes take.