Dagre
Directed graph layout for JavaScript observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 96
- Release rhythm 26
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5088
- days_rel: 283
- days_push: 25
- n_releases_24m: 1
Adoption not part of the score
5774 stars · 638 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Dagre is a JavaScript library for laying out directed graphs on the client side, computing node and edge positions automatically. The dagre-d3 companion package provides a D3-based renderer for visualizing those layouts in the browser.
Use cases
- automatically layout directed graphs in the browser
- render flowcharts and dependency diagrams with D3
- compute node positions for graph visualizations
- draw DAG diagrams in a web app
- visualize state machines or workflow graphs client-side
When to choose
- you need automatic layout of directed graphs in JavaScript
- you want a D3-based renderer for graph diagrams
- you need client-side layout without a server
When to avoid
- you need interactive graph editing rather than static layout
- you need force-directed or undirected graph layouts
- you need server-side or non-JavaScript graph layout
Facets
library · maturity maintenance
data-visualization graphics data-visualization web-development frontend browser graph-layout directed-graphs d3 dagre-d3 client-side nodejs javascript
3 sources
- readme: https://github.com/dagrejs/dagre · fetched 2026-08-28 · c358b9119e41
- registry_npm: https://registry.npmjs.org/dagre · fetched 2026-08-29 · 8fdbc3150be8
- registry_npm: https://registry.npmjs.org/dagre-d3 · fetched 2026-08-29 · ab43a5fa6a9b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dagrejs/dagre | main | 72 |
| dagrejs/dagre-d3 | plugin | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem