{% path %}
Attributes
| Parameter | Type | Required | Description |
|---|---|---|---|
outcome | string | ✓ | Name of this branch's outcome (e.g., 'success', 'duplicate-url') |
label | string | — | Human-readable label for this path in the diagram |
emit | string | — | Bare event name emitted on this path |
throws | string | — | Bare error id raised on this path. Cannot be combined with join. |
Valid Children
| Tag | Multiplicity |
|---|---|
{% join %} | [?] |
Valid Parent Contexts
This tag is valid inside: {% branch %}
Rules
| Rule | Force | Realm | Reference | Description |
|---|---|---|---|---|
path-single-exit | | | — | Every path has exactly one exit: auto-join (nothing), , or a child tag. |
emit= paths render as green nodes; throws= paths render as red hexagonal nodes.
Three path variants: success, retry, and error
{% path outcome="success" emit="bookmark-added" %}Bookmark created.{% /path %}{% path outcome="invalid" %}URL malformed.{% join target="submit" label="retry" /%}{% /path %}{% path outcome="duplicate-url" throws="duplicate-url" %}Duplicate detected.{% /path %}