Data · network-graph
Network graph (your nodes and edges)
A labelled node-link diagram built from your own nodes and edges: a seeded force layout (computed once, fully deterministic) is revealed outward from the hub, nodes pop in coloured by group and sized by importance, edges draw between them, and the hub pulses with expanding rings; nodes drift slightly after.
A free, MIT-licensed animated chart from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Network graph (your nodes and edges) is for
Explicit relationship maps: system architecture, supply chains, org or contact networks, dependency graphs, knowledge graphs, social graphs with named members. Pass nodes [{id, label?, group?, size?}] and edges [{from, to, weight?}]; for a random generated growth effect use node-network instead.
Details
- Category
- Animated charts & data visualisation
- Length
- 7.0 s (210 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
titlesubtitle- Colour props
colorsbackgroundinkaccent- Mood
- hud
- Roles
- accent, subject
Use Network graph (your nodes and edges) in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add network-graph --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render network-graph --props '{"title":"How the pieces connect","subtitle":"Services, clients and data stores around one core","colors":["#2F6FED","#FF7A45","#16B39A","#F2B134","#8E5CF0","#E5487F","#5BC0EB","#7A8794"],"background":"#F5F3EE","ink":"#18212B","accent":"#FF7A45"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export network-graph --as webm-alpha --props '{"title":"How the pieces connect","subtitle":"Services, clients and data stores around one core","colors":["#2F6FED","#FF7A45","#16B39A","#F2B134","#8E5CF0","#E5487F","#5BC0EB","#7A8794"],"background":"#F5F3EE","ink":"#18212B","accent":"#FF7A45"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="network-graph"
props={{
title: 'How the pieces connect',
subtitle: 'Services, clients and data stores around one core',
colors: [
'#2F6FED',
'#FF7A45',
'#16B39A',
'#F2B134',
'#8E5CF0',
'#E5487F',
'#5BC0EB',
'#7A8794',
],
background: '#F5F3EE',
ink: '#18212B',
accent: '#FF7A45',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="network-graph"
props='{"title":"How the pieces connect","subtitle":"Services, clients and data stores around one core","colors":["#2F6FED","#FF7A45","#16B39A","#F2B134","#8E5CF0","#E5487F","#5BC0EB","#7A8794"],"background":"#F5F3EE","ink":"#18212B","accent":"#FF7A45"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "network-graph",
"props": {
"title": "How the pieces connect",
"subtitle": "Services, clients and data stores around one core",
"colors": [
"#2F6FED",
"#FF7A45",
"#16B39A",
"#F2B134",
"#8E5CF0",
"#E5487F",
"#5BC0EB",
"#7A8794"
],
"background": "#F5F3EE",
"ink": "#18212B",
"accent": "#FF7A45"
}
}
]
}Network graph (your nodes and edges) props
19 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
nodes | [{"id":"Core","group":"Platform"},{"id":"API","group":"Platform"},{"id":"Auth","group":… | nodes [{id, label?, group?, size?, color?}]; group sets the colour and legend; size (default = number of links) sets the radius; nodes missing here are created from the edges |
edges | [{"from":"Core","to":"API"},{"from":"Core","to":"Auth"},{"from":"Core","to":"Queue"},{"… | links [{from, to, weight?}] using node ids; weight 0.1-10 thickens and shortens the link |
seed | 3 | layout seed: change it to get a different arrangement of the same graph |
title | "How the pieces connect" | headline (empty = none) |
subtitle | "Services, clients and data stores around one core" | small line under the headline (empty = none) |
showLabels | true | print node names under the nodes |
hub | "Core" | id of the node that reveals first and pulses (empty = the most connected node) |
hubPulse | true | expanding rings around the hub |
minRadius | 14 | smallest node radius in u |
maxRadius | 40 | largest node radius in u |
edgeOpacity | 0.32 | link opacity 0-1 |
drift | 5 | gentle post-layout drift in u (0 = still) |
colors | ["#2F6FED","#FF7A45","#16B39A","#F2B134","#8E5CF0","#E5487F","#5BC0EB","#7A8794"] | palette for groups / nodes without their own colour |
background | "#F5F3EE" | page colour, or "transparent" to sit over other content |
ink | "#18212B" | text and link colour |
accent | "#FF7A45" | colour of the hub links and pulse |
fontFamily | "" | CSS font family (empty = Space Grotesk) |
startAt | 10 | frame the hub appears |
speed | 1 | animation speed multiplier |
Related motions

Node network
Network effects, communities, knowledge graphs, AI agents, social-proof and "everything connects" beats.
node-network
Flow diagram (packets on edges)
How-it-works explainers (APIs, AI agents, networks, payments), onboarding and architecture videos: pass `nodes` + `edges`; optionally…
flow-diagram
Sankey flow
Where things go: traffic to conversions, budget to departments, energy or cash flows, funnels with leaks, user journeys. Pass links as…
sankey-flow
Org chart tree
Org charts, team structures, decision trees, site maps, product families, taxonomies, family trees. Pass tree as {name, role?,…
org-chart-tree
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
Bar chart race
Rankings over time: market share by year, top products by quarter, followers by month, league tables, "who is winning" stories. Give the…
bar-race
Notes & credits
Technique sources:
- original round-3 chart motion