Data · flow-diagram
Flow diagram (packets on edges)
Rounded boxes with icons joined by arrows that draw on in sequence (14 f each, 5 f stagger); glowing packets or labelled chips travel the edges, each receiving node pulses 1 -> 1.08 -> 1 and a highlight ring follows the active step. Auto-lays out left-to-right (top-to-bottom on portrait) from the edge graph; blueprint / paper / dark themes.
A free, MIT-licensed animated chart from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Flow diagram (packets on edges) is for
How-it-works explainers (APIs, AI agents, networks, payments), onboarding and architecture videos: pass `nodes` + `edges`; optionally `steps` to script which edge fires when.
Details
- Category
- Animated charts & data visualisation
- Length
- 9.0 s (270 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- no
- Seamless loop
- no
- Text props
title- Colour props
- —
- Mood
- paper, blueprint, hud, playful, night
- Roles
- subject
Use Flow diagram (packets on edges) in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add flow-diagram --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render flow-diagram --props '{"title":""}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export flow-diagram --as mp4 --props '{"title":""}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="flow-diagram"
props={{title: ''}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="flow-diagram"
props='{"title":""}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "flow-diagram",
"props": {
"title": ""
}
}
]
}Flow diagram (packets on edges) props
12 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
nodes | [{"id":"app","label":"Your app","icon":"user"},{"id":"gw","label":"Gateway","icon":"shi… | [{id, label, icon?: bolt|shield|chart|chat|globe|spark|lock|cog|user|db|cloud|star|queue|server|mail, x?, y? in % of frame}] (3-7 nodes) |
edges | [{"from":"app","to":"gw","label":"request"},{"from":"gw","to":"auth","label":"token"},{… | [{from, to, label?}] — a label turns the packet into a chip |
steps | [] | [{at: frame, edge?: 'a>b' | index, node?: id}] — empty = auto: packets fire layer by layer and loop |
direction | "auto" | 'auto' (vertical on portrait) | 'horizontal' | 'vertical' |
theme | "blueprint" | 'blueprint' | 'paper' | 'dark' |
accent | "" | highlight colour (empty = theme default) |
packetColor | "" | packet colour (empty = accent) |
drawFrames | 14 | frames to draw one edge |
stagger | 5 | frames between edge starts |
stepFrames | 28 | frames per step / packet travel |
loop | true | repeat the steps |
title | "" | optional heading |
Related motions

Network graph (your nodes and edges)
Explicit relationship maps: system architecture, supply chains, org or contact networks, dependency graphs, knowledge graphs, social…
network-graph
API request flow
Explaining how an API call works, backend architecture, REST / HTTP basics, error-handling stories (a 500 shakes the node), latency and…
api-request-flow
Node network
Network effects, communities, knowledge graphs, AI agents, social-proof and "everything connects" beats.
node-network
Token pipeline
Training / build / pipeline explainers ("your data goes in…"), product origin stories, "tokens in, model out" moments.
token-pipeline
Cause and effect chain
Domino-effect explainers, "how X leads to Y" chains, root-cause stories, economics / science / news cause chains — pass `steps` (2-7 short…
cause-effect-chain
Crowd tracks
Footfall / mobility / network-activity explainers, smart-city and retail-analytics films, "everyone is connected" beats; drop a crowd…
crowd-tracks
Notes & credits
Technique sources:
- prompt-corpus: flow-diagram (31 cases)
- awesome-opus5-5-videos prompts (MIT) — technique only