Skip to main content
Defined in: flows/describe.ts:129 A node of the flow graph. Ids are stable and identical to the Mermaid node ids.

Properties

id

Defined in: flows/describe.ts:131 Node id, e.g. f0_in, f0_s3, f0_s3_o1_s0, f0_end, f1 (conversation), x0 (missing target).

kind

Defined in: flows/describe.ts:132

label

Defined in: flows/describe.ts:134 Full human-readable label (lines separated by \n; never truncated).

flow?

Defined in: flows/describe.ts:136 Id of the owning FlowGraphFlow; absent for missing nodes.

group?

Defined in: flows/describe.ts:138 Innermost inline sub-flow FlowGraphGroup containing this node.

path?

Defined in: flows/describe.ts:140 Step path inside the flow, e.g. steps[3].options["tech"].then.steps[0].

text?

Defined in: flows/describe.ts:142 Literal text of a say/ask, or the prompt of a choose. Absent when computed at runtime.

dynamic?

Defined in: flows/describe.ts:144 true when the say/ask text is a function evaluated at runtime.

stateKey?

Defined in: flows/describe.ts:146 c.state key an ask/choose writes.

timeoutMs?

Defined in: flows/describe.ts:148 Effective wait timeout of an ask/choose in ms (0 = never expires). Absent when unparseable.

timeoutSource?

Defined in: flows/describe.ts:150 Where timeoutMs comes from.

target?

Defined in: flows/describe.ts:152 Target conversation of a goto / name of a missing node.

options?

Defined in: flows/describe.ts:154 Options of a choose, in menu order.

media?

Defined in: flows/describe.ts:156 What a media step sends (type: image, video, audio, voice, document, sticker, location).

source

caption?

type?


delayMs?

Defined in: flows/describe.ts:158 Pause before the step runs ({ delay } option, or a .delay() step), in ms.

schema?

Defined in: flows/describe.ts:160 true when an ask validates its answer with a schema.

redirect?

Defined in: flows/describe.ts:162 Conversation a failing guard redirects to (absent: the conversation ends).

message?

Defined in: flows/describe.ts:164 Farewell text of a failing guard, when literal.

subflow?

Defined in: flows/describe.ts:166 Id of the sub-flow a use node runs inline.

form?

Defined in: flows/describe.ts:168 Fields of a form step, in order (the form id is in text, its c.state key in stateKey).

action?

Defined in: flows/describe.ts:170 Name of the function behind a do/then/dynamic text, when it has a meaningful one.

stepKind?

Defined in: flows/describe.ts:172 Raw step kind of an unknown (step) or explicit end step.