Skip to content
{% path %}
AutoXXS (320px)XS (375px)SM (640px)MD (768px)LG (1024px)XL (1280px)XXL (1536px)
SketchMaterialiOSTamagui
DataInjectionKeyPatternsServiceTransactionProcessResearchProductQualityPerformanceSpecDomainFunctionTechnologyArchitectureConfigMiddlewareDataDatabaseDrizzleMigrationModelop-sqliteSchemaSQLState ManagementDraftKeystoneMergePatchPatchesPersistenceReactiveRedoStoreUndoTestingDeviceFactoryIsolationTypeScriptZodTopicsCommunicationBidsNVCDesignDesign ImplicationsEducationPedagogyFoundationsPsychologyAttachmentFloodingRelatingAuthentic RelatingUIEditorReact Native

{% 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

TagMultiplicity
{% join %}[?]

Valid Parent Contexts

This tag is valid inside: {% branch %}

Rules

Rule Force Realm Reference Description
path-single-exit must global Every path has exactly one exit: auto-join (nothing), , or a child tag.
validationstructure

emit= paths render as green nodes; throws= paths render as red hexagonal nodes.

Three path variants: success, retry, and error
tagpathbranch path-tag-variants
{% 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 %}