Data
JS behaviour
Branch connector
Connects a source to its targets with curved paths measured from the page and redrawn as it resizes — pulses flow along the active ones.
Real scenarios
The component as it is used in a product — not a specimen grid.
One message, four ways out
The router at the heart of Nabu: pulses run along the active links; the human handoff sits idle until an agent calls for it. The paths are measured from the page and redraw as it resizes.
Inbound message
WhatsApp · Telegram · Web
- Nabu agent · فارسی Answers natively
- Agente Nabu · Español Español · Português
- Nabu エージェント · 日本語 日本語 · 한국어
- Human handoff Queue: billing
A build fanning out
The same block for a deploy pipeline — narrow the window and watch it stack itself: source above, targets below.
main @ 9a13f2c
All checks green
- Preview pr-4821.nabu.app
- Staging Auto, on merge
- Production Holds for a human
Important props
| Prop | Type | Default | What it does |
|---|---|---|---|
| source / targets | array | [] | Each node: ['label' => …, 'description' => …, 'icon' => …]; targets also take state => idle. |
| targetsLabel | string | null | The targets group’s heading. |
Snippet
<x-nx::branch-connector
:source="['label' => 'پیام ورودی', 'description' => 'واتساپ · تلگرام · وب', 'icon' => 'message']"
:targets="[
['label' => 'ایجنت نابو', 'description' => 'فارسی · English', 'icon' => 'sparkles'],
['label' => 'واگذار به انسان', 'description' => 'صف: مالی', 'icon' => 'users', 'state' => 'idle'],
]" />