# Map Layout

> Three-column ecosystem architecture showing inputs on the left, core platform in the center, and outputs on the right.

Use `map` for high-level product architecture: where users enter on the left, what the core platform does in the middle, and what backends/models power it on the right.

## Live Interactive Example

```diagram
type: map
label: "Chat apps and developer tools feed PraisonAI, which runs on cloud or local models."
left_eyebrow: Where you use it
center_eyebrow: Core platform
right_eyebrow: Models
left:
  - { eyebrow: Chat apps, items: [Telegram, Discord, Slack, WhatsApp] }
  - { eyebrow: Dev tools, items: [Terminal, Cursor, Dashboard, Python SDK] }
center:
  title: PraisonAI
  badge: Apache-2.0
  panels:
    - title: Agents
      note: "core framework"
      bullets: [Multi-agent teams & workflows, Memory knowledge & RAG, Tools MCP & guardrails]
  chips:
    - { title: Bot, note: "chat apps" }
    - { title: Code, note: "terminal" }
    - { title: MCP, note: "editors" }
right:
  - { eyebrow: Cloud APIs, items: [OpenAI, Anthropic, Gemini] }
  - { eyebrow: Local & Open, accent: true, items: [Ollama, vLLM, LM Studio] }
```

## Step-by-Step Guide

1. **Fill the `left` column** with 1–3 stacked input groups (`{ eyebrow, items: [...] }`).
2. **Configure the `center` platform card** with `title`, optional green `badge`, `panels` (with bullet lists), and bottom `chips`.
3. **Fill the `right` column** with 1–3 output/model groups — add `accent: true` to draw an accented dashed border around your differentiator (e.g., local models).
4. **Add column eyebrows** (`left_eyebrow`, `center_eyebrow`, `right_eyebrow`) so readers grasp the 3 columns at a glance.

## Field Reference

| Field | Required | Description |
|---|---|---|
| `type` | Yes | Must be `map` |
| `label` | Yes | Accessible 1-sentence summary |
| `left` | Yes | List of input groups `{ eyebrow, items, accent? }` |
| `center` | Yes | Core card `{ title, badge?, panels?, chips? }` |
| `right` | Yes | List of output groups `{ eyebrow, items, accent? }` |
| `left_eyebrow` / `center_eyebrow` / `right_eyebrow` | No | Column headings |

## Related pages

- [Fan Layout](https://diagram.praison.ai/docs/layouts/fan.md)
- [Flow Layout](https://diagram.praison.ai/docs/layouts/flow.md)
- [Loop Layout](https://diagram.praison.ai/docs/layouts/loop.md)
