Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

svgo architecture

Changing lib/util/visit in svgo reaches 44 modules. 13 files call it directly. Snapshot 31194fb.

The first file to open in svgo is lib/util/visit. A change there reaches 44 of 77 modules.

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

util/visit44 · 13 fan-in
plugins/_collections43 · 26 fan-in
lib/xast37 · 27 fan-in
svgo/tools25 · 17 fan-in
lib/style18 · 12 fan-in

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

Download the finding

Project: svgo · Score: 94.8/100 (Excellent architecture) · 77 modules · 236 edges · JavaScript · 12 of 43 · Language score median 91.7

Cycles
0
Duplicate authorities
0
God modules
5
Layer violations
0
arc impact lib/util/visit

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

README badge

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

Blast radius paths

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

svgo · 31194fb

RankFileFan-inBlastShare
1lib/util/visit

concentrates too many responsibilities, shared utility hub

134457%
2plugins/_collections

concentrates too many responsibilities, shared utility hub

264356%
3lib/xast

concentrates too many responsibilities

273748%
4lib/svgo/tools172532%
5lib/style121823%
All ranked files
RankFileFan-inBlastShare
6lib/path41317%
7plugins/_path41013%
8plugins/convertPathData368%
9plugins/removeHiddenElems368%
10plugins/removeUselessStrokeAndFill368%

Nearby proofs

Snapshot notes

In svg svgo, a change that begins in util visit keeps traveling until it reaches plugins _collections, with xast as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark ecabaeacfc.

svgo tools is worth opening beside util visit because style still participates when svgo tools moves, and path stays in view for svg svgo, snapshot mark ecabaeacfc.

Review plugins _path only after plugins _collections and plugins convertPathData are both on the table, since the link from plugins removeHiddenElems back to xast belongs to svg svgo under snapshot mark ecabaeacfc.

plugins removeUselessStrokeAndFill and util map-nodes-to-parents are later stops, and a reviewer who has already seen util visit should still look at svgo css-select-adapter before treating the ROOT_CLUSTER group as understood for svg svgo, snapshot mark ecabaeacfc.

util visit closes the file list after plugins _collections and xast, which keeps the svg svgo note tied to snapshot mark ecabaeacfc, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • ROOT_CLUSTER (72 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 svg svgo: util visit?
Start with util visit, because the rest of the svg svgo walk leaves from that file and plugins _collections is the next file in the same review. Commit ecabaeacfc records it.
What else is on the svg svgo walk besides util visit and xast?
xast and svgo tools stay on the walk with style, which are different files from util visit inside the ROOT_CLUSTER group for svg svgo. Commit ecabaeacfc records it.
How should a reviewer use path in the svg svgo snapshot?
Keep path, plugins _path, and plugins convertPathData open together, then check plugins removeHiddenElems before merging the svg svgo change. Commit ecabaeacfc records it.
Where does the svg svgo review stop after plugins removeUselessStrokeAndFill?
Stop after plugins removeUselessStrokeAndFill, util map-nodes-to-parents, and svgo css-select-adapter have been compared with util visit, leaving the ROOT_CLUSTER group until those svg svgo files are clear. Commit ecabaeacfc 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/svgo/" width="320" height="180" frameborder="0"></iframe>

Explore

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