Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

Leaflet architecture

Changing src/core/Util in Leaflet reaches 70 modules. 32 files call it directly. Snapshot a10e840.

The first file to open in Leaflet is src/core/Util. A change there reaches 70 of 72 modules.

This lead file reaches 97% of the graph. The median published proof reaches 60%.

core/Util70 · 32 fan-in
geometry/Point61 · 27 fan-in
dom/DomEventUtil44 · 9 fan-in
dom/DomUtil43 · 22 fan-in
dom/DomEvent43 · 20 fan-in

Median 60%. Thick bar is blast share. Thin bar is fan-in.

Download the finding

Project: Leaflet · Score: 91.6/100 (Excellent architecture) · 72 modules · 354 edges · JavaScript · 24 of 43 · Language score median 91.7

Cycles
2
Duplicate authorities
3
God modules
7
Layer violations
0
arc impact src/core/Util

Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).

README badge

ArcSight architecture proof for Leaflet
[![ArcSight architecture proof for Leaflet](https://arcsight.ai/badge/proof/leaflet/)](https://arcsight.ai/repositories/leaflet/)

Blast radius paths

Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.

Leaflet · a10e840

RankFileFan-inBlastShare
1src/core/Util

concentrates too many responsibilities, shared utility hub

327097%
2src/geometry/Point

concentrates too many responsibilities, shared utility hub

276185%
3src/dom/DomEventUtil94461%
4src/dom/DomUtil

concentrates too many responsibilities

224360%
5src/dom/DomEvent204360%
All ranked files
RankFileFan-inBlastShare
6src/geo/LatLng174360%
7src/geo/LatLngBounds134360%

Circular dependencies

This snapshot records 2 dependency cycles.

Nearby proofs

Snapshot notes

In Leaflet leaflet, a change that begins in src Util keeps traveling until it reaches geometry Point, with dom DomEventUtil as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark beacadaddb.

dom DomUtil is worth opening beside src Util because dom DomEvent still participates when dom DomUtil moves, and geo LatLng stays in view for Leaflet leaflet, snapshot mark beacadaddb.

Review geo LatLngBounds only after geometry Point and src Util are both on the table, since the link from dom DomEventUtil back to dom DomUtil belongs to Leaflet leaflet under snapshot mark beacadaddb.

dom DomEventUtil and dom DomUtil are later stops, and a reviewer who has already seen src Util should still look at dom DomEvent before treating the ROOT_CLUSTER group as understood for Leaflet leaflet, snapshot mark beacadaddb.

geo LatLng closes the file list after geo LatLngBounds and src Util, which keeps the Leaflet leaflet note tied to snapshot mark beacadaddb, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • ROOT_CLUSTER (49 modules)

CLI workflow

Impact, then scan, fix, finish, and watch.

  • arc impact <file>See what a change breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

FAQ

Which file should change first in Leaflet leaflet: src Util?
Start with src Util, because the rest of the Leaflet leaflet walk leaves from that file and geometry Point is the next file in the same review. Commit beacadaddb records it.
What else is on the Leaflet leaflet walk besides src Util and dom DomEventUtil?
dom DomEventUtil and dom DomUtil stay on the walk with dom DomEvent, which are different files from src Util inside the ROOT_CLUSTER group for Leaflet leaflet. Commit beacadaddb records it.
How should a reviewer use geo LatLng in the Leaflet leaflet snapshot?
Keep geo LatLng, geo LatLngBounds, and src Util open together, then check geometry Point before merging the Leaflet leaflet change. Commit beacadaddb records it.
Where does the Leaflet leaflet review stop after dom DomEventUtil?
Stop after dom DomEventUtil, dom DomUtil, and dom DomEvent have been compared with src Util, leaving the ROOT_CLUSTER group until those Leaflet leaflet files are clear. Commit beacadaddb records it.

Run ArcSight on your repo

Install locally, then run arc impact on the file you plan to change — before merge.

npx arcsight init
arc impact <path>
Install ArcSight →

Embed this report

Use this iframe to show the architecture badge on your site.

<iframe src="https://arcsight.ai/embed/leaflet/" width="320" height="180" frameborder="0"></iframe>

Explore

Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo