Skip to main content

Module flow

Module flow 

Source
Expand description

QAFlowSpec builder for multi-step setup with conditional jumps.

Converts a flat FormSpec into a directed-graph QAFlowSpec where questions with visible_if expressions become decision branches.

Structs§

FlowSection
A named section of questions for sectioned flow building.

Functions§

auto_sections
Auto-detect sections from question IDs by grouping on the prefix before the first underscore (e.g., redis_host → section redis).
build_qa_flow
Build a QAFlowSpec from a FormSpec, inserting decision steps for questions that have visible_if conditions.
build_sectioned_flow
Build a section-based QAFlowSpec where questions are grouped into named sections with message headers and decision gates.