Back to page

Menu Node

Raw Markdown & AI/RAG Chunks
Raw Markdown Source 1064 chars
# Menu Node

The **Menu** element provides an integrated voice tree framework, supporting immediate split-branch switch options based on single key triggers.

---

## Multi-Choice Decision Structure

```mermaid
graph TD
    InitMenu["Menu Module Executing"] ==>|"Stream Options Audio"| ReadKey["Capture Single Keypad Digit"]
    ReadKey ==>|"Key == 1"| PortSales["Sales Transfer port"]
    ReadKey -->|"Key == 2"| PortSupport["Support Transfer port"]

    classDef menuToken fill:#0f172a,stroke:#38bdf8,stroke-width:2px,color:#fff,rx:6px,ry:6px;
    classDef targetToken fill:#312e81,stroke:#ec4899,stroke-width:2px,color:#fff,rx:6px,ry:6px;

    class InitMenu ReadKey menuToken;
    class PortSales PortSupport targetToken;
```

---

## Tree setup Tips

### 1. Dynamic Port Connectors
Adding branch definitions inside the inspector instantly draws new physical output circles straight onto your canvas node layout.

### 2. Invalid Input Retries
Configure internal attempt sliders to replay menu guidelines automatically if users press unassigned numeric strings.
AI Chunks (RAG) 3 chunks
Chunk #1 Menu Node
# Menu Node

The **Menu** element provides an integrated voice tree framework, supporting immediate split-branch switch options based on single key triggers.

---
Chunk #2 Multi-Choice Decision Structure
## Multi-Choice Decision Structure

```mermaid
graph TD
    InitMenu["Menu Module Executing"] ==>|"Stream Options Audio"| ReadKey["Capture Single Keypad Digit"]
    ReadKey ==>|"Key == 1"| PortSales["Sales Transfer port"]
    ReadKey -->|"Key == 2"| PortSupport["Support Transfer port"]

    classDef menuToken fill:#0f172a,stroke:#38bdf8,stroke-width:2px,color:#fff,rx:6px,ry:6px;
    classDef targetToken fill:#312e81,stroke:#ec4899,stroke-width:2px,color:#fff,rx:6px,ry:6px;

    class InitMenu ReadKey menuToken;
    class PortSales PortSupport targetToken;
```

---
Chunk #3 Tree setup Tips
## Tree setup Tips

### 1. Dynamic Port Connectors
Adding branch definitions inside the inspector instantly draws new physical output circles straight onto your canvas node layout.

### 2. Invalid Input Retries
Configure internal attempt sliders to replay menu guidelines automatically if users press unassigned numeric strings.