The shape of Next.js

Every module in the Next.js framework core, wired by its real import graph. Graph-sitter parsed packages/next/src 1,680 files, 16,004 symbols — in 4.89s.

vercel/next.js · packages/next/src91 modules710 import edges1,680 filesparsed in 4.89s
scroll to zoom · drag a node · drag canvas to pan

Most-depended-on modules

Ranked by inbound imports — the modules that the rest of the framework leans on hardest.

  • 1shared/lib1393imports
  • 2lib694imports
  • 3server447imports
  • 4server/lib378imports
  • 5server/app-render322imports
  • 6client/components215imports

How this was built

No language server, no IDE — just the graph-sitter Rust backend resolving imports across the whole tree.

uvx graph-sitter parse packages/next/src \--backend rust --format json

The resulting graph — 91 modules and 710 aggregated import edges — is laid out live in your browser with a force simulation.