Call Signature
- One Mermaid
subgraphper DSL flow; its entry node lists the triggers routed to it (bot.use,bot.when(trigger, flow), …). chooseoptions are labelled1) Labellike the menu the user sees; athensub-flow is drawn as a nested subgraph that returns to the parent.gotois a dotted edge to the target; an unregistered target is drawn as amissing: namenode.- Async conversations are a single node (their body is opaque).
- User text is escaped with Mermaid entity codes, so labels can never break
out of their node or inject
%%{init}%%directives.
lintFlows() diagnostics.
Parameters
Returns
FlowGraph
Call Signature
- One Mermaid
subgraphper DSL flow; its entry node lists the triggers routed to it (bot.use,bot.when(trigger, flow), …). chooseoptions are labelled1) Labellike the menu the user sees; athensub-flow is drawn as a nested subgraph that returns to the parent.gotois a dotted edge to the target; an unregistered target is drawn as amissing: namenode.- Async conversations are a single node (their body is opaque).
- User text is escaped with Mermaid entity codes, so labels can never break
out of their node or inject
%%{init}%%directives.
lintFlows() diagnostics.
Parameters
Returns
string
Call Signature
- One Mermaid
subgraphper DSL flow; its entry node lists the triggers routed to it (bot.use,bot.when(trigger, flow), …). chooseoptions are labelled1) Labellike the menu the user sees; athensub-flow is drawn as a nested subgraph that returns to the parent.gotois a dotted edge to the target; an unregistered target is drawn as amissing: namenode.- Async conversations are a single node (their body is opaque).
- User text is escaped with Mermaid entity codes, so labels can never break
out of their node or inject
%%{init}%%directives.
lintFlows() diagnostics.
Parameters
Returns
string | FlowGraph