---
title: Voice Input Flow
config:
theme: base
themeVariables:
primaryColor: '#f0f0f0'
themeCSS: |
.nodeLabel {
font-weight: bold !important;
color: #ffffff
}
.node rect, .node circle, .node ellipse, .node polygon {
fill: #1E90FF !important;
stroke: none !important;
rx: 10px !important;
ry: 10px !important;
}
.edgeLabel {
color: #000000 !important;
}
---
flowchart TD
%% Legends
Start[Start]
Return[Return]
Input[Short Waiting for Speech/Gesture]
InputEcho[Echo]
Confirmation[Short Waiting for Gesture]
%% Flow
Start --> |TTS and STT are Ready| Input
Start --> |Error Occured| Return
Input --> |Speech| InputEcho
Input --> |"Timeout Occured /
Triple Tap (Exit) /
Error Occured"| Return
InputEcho --> Confirmation
Confirmation --> |Tap/Timeout:
Confirmed| Return
Confirmation --> |Double Tap:
Retry Input| Start
Confirmation --> |"Triple Tap (Exit) /
Error Occured"| Return