Describe every registered flow/conversation of a bot (or a plain list of flows) as a Mermaid flowchart (default) or a JSON graph.
subgraph per DSL flow; its entry node lists the triggers routed
to it (bot.use, bot.when(trigger, flow), …).choose options are labelled 1) Label like the menu the user sees; a
then sub-flow is drawn as a nested subgraph that returns to the parent.goto is a dotted edge to the target; an unregistered target is drawn as a
missing: name node.%%{init}%% directives.Node ids are stable and shared by both formats and by lintFlows() diagnostics.
Optionaloptions: DescribeOptions & { format?: "mermaid" }Describe every registered flow/conversation of a bot (or a plain list of flows) as a Mermaid flowchart (default) or a JSON graph.
subgraph per DSL flow; its entry node lists the triggers routed
to it (bot.use, bot.when(trigger, flow), …).choose options are labelled 1) Label like the menu the user sees; a
then sub-flow is drawn as a nested subgraph that returns to the parent.goto is a dotted edge to the target; an unregistered target is drawn as a
missing: name node.%%{init}%% directives.Node ids are stable and shared by both formats and by lintFlows() diagnostics.
Optionaloptions: DescribeOptions
Describe every registered flow/conversation of a bot (or a plain list of flows) as a Mermaid flowchart (default) or a JSON graph.
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.%%{init}%%directives.Node ids are stable and shared by both formats and by
lintFlows()diagnostics.