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§
- Flow
Section - 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→ sectionredis). - build_
qa_ flow - Build a
QAFlowSpecfrom aFormSpec, inserting decision steps for questions that havevisible_ifconditions. - build_
sectioned_ flow - Build a section-based QAFlowSpec where questions are grouped into named sections with message headers and decision gates.