Dependency graph

Packages and modules connected as a readable graph.

0:00 / 0:01

Customize

Installation

pnpm odori add component dependency-graph

Edit the source in videos/components/dependency-graph/. Use odori diff to compare upstream changes and odori update to apply updates.

Timing contract

Use these durations and content limits when composing a scene. Run odori test to check your video.

Family
Developer proof
Recommended duration
150 frames · 5s
Minimum duration
75 frames · 2.5s
Entrance
60 frames
Exit
0 frames
Reduced motion
edges and nodes appear without drawing
Requires
sans font, mono font
Content limits
nodes ≤ 6, labelLength ≤ 24

Props

PropTypeDefaultRequired
nodesGraphNode[]—Yes
edgesPairs of node indexes, drawn in order.Array<[number, number]>—Yes
headlinestring——

Related components

All components