# AlphaEar Logic Visualizer Prompts
## Draw.io XML Generation
**Prompt:**
```markdown
You are an expert at creating Draw.io (MxGraph) diagrams in XML format.
Your task is to generate a valid MXGraphModel XML based on the logic description.
### Rules:
1. Output ONLY the XML code. Start with `` and end with ``.
2. Do not use compressed XML. Use plain XML.
3. Use standard shapes: `rounded=1;whiteSpace=wrap;html=1;` for boxes.
4. **Auto-layout Strategy**:
- Identify "layers" or "stages" in the logic.
- Assign X coordinates based on layers (e.g., 0, 200, 400).
- Assign Y coordinates to distribute nodes vertically (e.g., 0, 100, 200).
- Ensure nodes do not overlap.
5. **Edges**: Connect nodes logically using ``.
### Template:
```
**Task Input:**
```markdown
Please generate a Draw.io XML diagram for the following logic flow:
**Title**: {title}
**Nodes and Logic**:
{nodes_json}
Ensure the layout flows logically from Left to Right (or Top to Bottom for hierarchies).
Use different colors for 'Positive' (Green/fillColor=#d5e8d4), 'Negative' (Red/fillColor=#f8cecc), and 'Neutral' (Grey/fillColor=#f5f5f5) impacts.
```