8 of 50 in the Bloomline pack

Decision Tree: Branching Ribbon: Diagram element for AI agents

A condition branches into two labelled outcomes; edges remain attached after reflow..

  • 1:1native
  • 16:9native
  • 9:16native
  • 4:5native

Watermarked preview. The Bloomline pack includes all 50 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Bloomline pack. Add a `decisionTree` beat to plan.json on a `field` canvas with slots `label`, `title`, `body`, `question`, `yes`, `no`, `sceneIndex` and `sceneTotal` from my script. Then run validate → build → qa and show me qa/contact.jpg.

Variables

The slots your agent fills from your script, through plan.json.

SlotTypeWhat it holdsExample
labelstringlabel: {"type":"string","minLength":1,"maxLength":40}.06 / HUMAN CONTROL
titlestringtitle: {"type":"string","minLength":1,"maxLength":52}.Pause at the risky step.
bodystringbody: {"type":"string","minLength":1,"maxLength":90}.Critical actions need an explicit decision.
questionstringquestion: {"type":"string","minLength":1,"maxLength":26}.Could this cause harm?
yesstringyes: {"type":"string","minLength":1,"maxLength":19}.Human approval
nostringno: {"type":"string","minLength":1,"maxLength":19}.Bounded action
sceneIndexnumberZero-based footer position0
sceneTotalnumberTotal scenes for footer1

What your agent can change

A condition branches into two labelled outcomes; edges remain attached after reflow.

Native 1920×1080, 8s at 30fps. Full-frame graphics block; use the matching aspect variant.

Install and mount

For this private ZIP, copy every manifest file from path to target relative to your project; include registryDependencies. The shipped starters already contain everything. A hosted registry is not included. Use a unique host DOM id, the block's data-composition-id and data-composition-src, and native data-variable-values. HyperFrames scopes each mounted instance.

Edit

Edit this block's HTML directly or set per-instance variables on its mount. Simple slots are text/number values; nested slots are JSON strings, parsed and checked against constraints.json.

  • label: native string; {"type":"string","minLength":1,"maxLength":40}
  • title: native string; {"type":"string","minLength":1,"maxLength":52}
  • body: native string; {"type":"string","minLength":1,"maxLength":90}
  • question: native string; {"type":"string","minLength":1,"maxLength":26}
  • yes: native string; {"type":"string","minLength":1,"maxLength":19}
  • no: native string; {"type":"string","minLength":1,"maxLength":19}

Brand: brandName, series, headingFont (Fredoka/Montserrat), logo (empty or inline base64 image), paper, ink, pink, purple, orange, yellow, soft. Footer: sceneIndex (zero-based), sceneTotal.

Timing and limits

Eight seconds include a 2.2-second settle and copy allowance at six words/second. For longer copy edit the HTML duration/timeline hold and the parent mount together; otherwise shorten copy. Slots enforce original character/count/value limits; never stretch geometry to change aspect. Keep both block and mount duration consistent.

Source: editable HTML, local SVG/GSAP. Source is authoritative after import; do not regenerate it to make ordinary edits. Guides/assets install to namespaced paths to avoid collisions. See pack NOTICE and font licences.

FAQ

What can my AI agent change in Decision Tree: Branching Ribbon?

Your agent fills the label, title, body, question, yes, no, sceneIndex and sceneTotal slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Bloomline look.

Which aspect ratios does Decision Tree: Branching Ribbon support?

Decision Tree: Branching Ribbon is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 8s.

How do I get Decision Tree: Branching Ribbon?

Decision Tree: Branching Ribbon is included in the Bloomline pack, which is part of the AgentFrames All-access subscription along with 49 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

This is 1 of 50

Get the full Bloomline pack

Decision Tree: Branching Ribbon comes as part of Bloomline: 50 elements, 4 starter videos and every size (16:9, 9:16, 4:5, 1:1), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

Wide (16:9) · 32s · made entirely with this pack

More in Bloomline

See all 50 elements in Bloomline →