395 lines
16 KiB
Markdown
395 lines
16 KiB
Markdown
# Graph Report - . (2026-07-04)
|
|
|
|
## Corpus Check
|
|
- Large corpus: 273 files · ~1,376,288 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder.
|
|
|
|
## Summary
|
|
- 1188 nodes · 1665 edges · 75 communities (65 shown, 10 thin omitted)
|
|
- Extraction: 96% EXTRACTED · 4% INFERRED · 0% AMBIGUOUS · INFERRED: 74 edges (avg confidence: 0.75)
|
|
- Token cost: 0 input · 0 output
|
|
|
|
## Community Hubs (Navigation)
|
|
- [[_COMMUNITY_Community 0|Community 0]]
|
|
- [[_COMMUNITY_Community 1|Community 1]]
|
|
- [[_COMMUNITY_Community 2|Community 2]]
|
|
- [[_COMMUNITY_Community 3|Community 3]]
|
|
- [[_COMMUNITY_Community 4|Community 4]]
|
|
- [[_COMMUNITY_Community 5|Community 5]]
|
|
- [[_COMMUNITY_Community 6|Community 6]]
|
|
- [[_COMMUNITY_Community 7|Community 7]]
|
|
- [[_COMMUNITY_Community 8|Community 8]]
|
|
- [[_COMMUNITY_Community 9|Community 9]]
|
|
- [[_COMMUNITY_Community 10|Community 10]]
|
|
- [[_COMMUNITY_Community 11|Community 11]]
|
|
- [[_COMMUNITY_Community 12|Community 12]]
|
|
- [[_COMMUNITY_Community 13|Community 13]]
|
|
- [[_COMMUNITY_Community 14|Community 14]]
|
|
- [[_COMMUNITY_Community 15|Community 15]]
|
|
- [[_COMMUNITY_Community 16|Community 16]]
|
|
- [[_COMMUNITY_Community 17|Community 17]]
|
|
- [[_COMMUNITY_Community 18|Community 18]]
|
|
- [[_COMMUNITY_Community 19|Community 19]]
|
|
- [[_COMMUNITY_Community 20|Community 20]]
|
|
- [[_COMMUNITY_Community 21|Community 21]]
|
|
- [[_COMMUNITY_Community 22|Community 22]]
|
|
- [[_COMMUNITY_Community 23|Community 23]]
|
|
- [[_COMMUNITY_Community 24|Community 24]]
|
|
- [[_COMMUNITY_Community 25|Community 25]]
|
|
- [[_COMMUNITY_Community 26|Community 26]]
|
|
- [[_COMMUNITY_Community 27|Community 27]]
|
|
- [[_COMMUNITY_Community 28|Community 28]]
|
|
- [[_COMMUNITY_Community 29|Community 29]]
|
|
- [[_COMMUNITY_Community 30|Community 30]]
|
|
- [[_COMMUNITY_Community 31|Community 31]]
|
|
- [[_COMMUNITY_Community 32|Community 32]]
|
|
- [[_COMMUNITY_Community 33|Community 33]]
|
|
- [[_COMMUNITY_Community 34|Community 34]]
|
|
- [[_COMMUNITY_Community 35|Community 35]]
|
|
- [[_COMMUNITY_Community 36|Community 36]]
|
|
- [[_COMMUNITY_Community 37|Community 37]]
|
|
- [[_COMMUNITY_Community 38|Community 38]]
|
|
- [[_COMMUNITY_Community 39|Community 39]]
|
|
- [[_COMMUNITY_Community 40|Community 40]]
|
|
- [[_COMMUNITY_Community 41|Community 41]]
|
|
- [[_COMMUNITY_Community 42|Community 42]]
|
|
- [[_COMMUNITY_Community 43|Community 43]]
|
|
- [[_COMMUNITY_Community 44|Community 44]]
|
|
- [[_COMMUNITY_Community 45|Community 45]]
|
|
- [[_COMMUNITY_Community 46|Community 46]]
|
|
- [[_COMMUNITY_Community 47|Community 47]]
|
|
- [[_COMMUNITY_Community 48|Community 48]]
|
|
- [[_COMMUNITY_Community 49|Community 49]]
|
|
- [[_COMMUNITY_Community 50|Community 50]]
|
|
- [[_COMMUNITY_Community 51|Community 51]]
|
|
- [[_COMMUNITY_Community 52|Community 52]]
|
|
- [[_COMMUNITY_Community 53|Community 53]]
|
|
- [[_COMMUNITY_Community 54|Community 54]]
|
|
- [[_COMMUNITY_Community 55|Community 55]]
|
|
- [[_COMMUNITY_Community 56|Community 56]]
|
|
- [[_COMMUNITY_Community 57|Community 57]]
|
|
- [[_COMMUNITY_Community 58|Community 58]]
|
|
- [[_COMMUNITY_Community 59|Community 59]]
|
|
- [[_COMMUNITY_Community 60|Community 60]]
|
|
- [[_COMMUNITY_Community 61|Community 61]]
|
|
- [[_COMMUNITY_Community 62|Community 62]]
|
|
- [[_COMMUNITY_Community 63|Community 63]]
|
|
- [[_COMMUNITY_Community 64|Community 64]]
|
|
- [[_COMMUNITY_Community 65|Community 65]]
|
|
- [[_COMMUNITY_Community 66|Community 66]]
|
|
- [[_COMMUNITY_Community 67|Community 67]]
|
|
- [[_COMMUNITY_Community 68|Community 68]]
|
|
- [[_COMMUNITY_Community 69|Community 69]]
|
|
- [[_COMMUNITY_Community 70|Community 70]]
|
|
- [[_COMMUNITY_Community 71|Community 71]]
|
|
- [[_COMMUNITY_Community 72|Community 72]]
|
|
|
|
## God Nodes (most connected - your core abstractions)
|
|
1. `$()` - 42 edges
|
|
2. `useLang()` - 32 edges
|
|
3. `escapeHtml()` - 26 edges
|
|
4. `api()` - 23 edges
|
|
5. `topbarHtml()` - 22 edges
|
|
6. `wireTabs()` - 22 edges
|
|
7. `compilerOptions` - 18 edges
|
|
8. `escapeAttr()` - 17 edges
|
|
9. `compilerOptions` - 16 edges
|
|
10. `validate()` - 14 edges
|
|
|
|
## Surprising Connections (you probably didn't know these)
|
|
- `ActivityTracker()` --calls--> `useAuth()` [INFERRED]
|
|
frontend/src/app/layout/RootLayout.tsx → frontend/src/context/AuthContext.tsx
|
|
- `DigitLocalizer()` --calls--> `useLang()` [INFERRED]
|
|
frontend/src/app/layout/RootLayout.tsx → frontend/src/context/LangContext.tsx
|
|
- `AnimatedRadialChart()` --calls--> `cn()` [INFERRED]
|
|
frontend/src/components/ui/animated-radial-chart.tsx → frontend/src/lib/utils.ts
|
|
- `BorderBeam()` --calls--> `cn()` [INFERRED]
|
|
frontend/src/components/ui/border-beam.tsx → frontend/src/lib/utils.ts
|
|
- `Vo2MaxCard()` --calls--> `cn()` [INFERRED]
|
|
frontend/src/components/ui/progress.tsx → frontend/src/lib/utils.ts
|
|
|
|
## Import Cycles
|
|
- 1-file cycle: `frontend/src/pages/Radar/Radar.tsx -> frontend/src/pages/Radar/Radar.tsx`
|
|
|
|
## Communities (75 total, 10 thin omitted)
|
|
|
|
### Community 0 - "Community 0"
|
|
Cohesion: 0.09
|
|
Nodes (65): $(), api(), CATEGORIES, CHART_SERIES, CONTENT_TYPES, escapeAttr(), escapeHtml(), EVENT_TYPES (+57 more)
|
|
|
|
### Community 1 - "Community 1"
|
|
Cohesion: 0.04
|
|
Nodes (27): ADMIN_IPS, ALLOWED_LEVELS, ALLOWED_ORIGINS, ALLOWED_SERIES, app, BANNER_POSITIONS, contactLimiter, cookieSecure() (+19 more)
|
|
|
|
### Community 2 - "Community 2"
|
|
Cohesion: 0.04
|
|
Nodes (47): dependencies, apexcharts, class-variance-authority, clsx, framer-motion, gsap, leaflet, lenis (+39 more)
|
|
|
|
### Community 3 - "Community 3"
|
|
Cohesion: 0.05
|
|
Nodes (24): CONTACT, Footer(), IconProps, NAV_LINKS, SOCIALS, ABOUT, MEDIA, Section (+16 more)
|
|
|
|
### Community 4 - "Community 4"
|
|
Cohesion: 0.06
|
|
Nodes (28): ChangeCell(), chipStyle(), COMPANY_DOMAIN, Competitor, competitors, CompetitorsModule(), CompSortKey, faDigits() (+20 more)
|
|
|
|
### Community 5 - "Community 5"
|
|
Cohesion: 0.06
|
|
Nodes (32): BudgetLine, cardBase(), catBg, catBorderColor, EASE, EXP, faNum(), FEED_CATEGORIES (+24 more)
|
|
|
|
### Community 6 - "Community 6"
|
|
Cohesion: 0.07
|
|
Nodes (24): bootstrapRadar(), RADAR_CATEGORIES, RADAR_CATEGORY_LABEL, RADAR_ITEMS, RadarCategory, RadarItem, asCats(), bootstrapRadarPages() (+16 more)
|
|
|
|
### Community 7 - "Community 7"
|
|
Cohesion: 0.06
|
|
Nodes (23): bootstrapMarket(), ExportData, GlobalComparison, InstituteStats, MarketPrice, marketPrices, monthlyExport, priceHistory (+15 more)
|
|
|
|
### Community 8 - "Community 8"
|
|
Cohesion: 0.12
|
|
Nodes (27): main(), print_usage(), backup_dir_for(), build_compress_prompt(), build_fix_prompt(), call_claude(), compress_file(), is_sensitive_path() (+19 more)
|
|
|
|
### Community 9 - "Community 9"
|
|
Cohesion: 0.08
|
|
Nodes (18): Banner, bannerFor(), banners, bootstrapBanners(), AtAGlance(), Card, CardModal(), CARDS (+10 more)
|
|
|
|
### Community 10 - "Community 10"
|
|
Cohesion: 0.07
|
|
Nodes (29): dependencies, @aws-sdk/client-s3, bcryptjs, cheerio, cookie-parser, cors, dotenv, express (+21 more)
|
|
|
|
### Community 11 - "Community 11"
|
|
Cohesion: 0.16
|
|
Nodes (22): benchmark_pair(), count_tokens(), main(), print_table(), Path, count_bullets(), extract_code_blocks(), extract_headings() (+14 more)
|
|
|
|
### Community 12 - "Community 12"
|
|
Cohesion: 0.08
|
|
Nodes (15): FilterTab, GeoRow, geoRows, megaTrends, publications, SignalDir, startups, TECH_CAT (+7 more)
|
|
|
|
### Community 13 - "Community 13"
|
|
Cohesion: 0.09
|
|
Nodes (13): Home(), Cover, COVERS, EASE, FactoryReportsScroll(), FALLBACK_DIRS, ScrollDir, EASE (+5 more)
|
|
|
|
### Community 14 - "Community 14"
|
|
Cohesion: 0.10
|
|
Nodes (11): IRAN_SITES, IranSite, SITE_TYPE_LABEL, SiteType, buildTree(), NEWS, NewsItem, norm() (+3 more)
|
|
|
|
### Community 15 - "Community 15"
|
|
Cohesion: 0.10
|
|
Nodes (20): compilerOptions, allowImportingTsExtensions, erasableSyntaxOnly, jsx, lib, module, moduleDetection, moduleResolution (+12 more)
|
|
|
|
### Community 16 - "Community 16"
|
|
Cohesion: 0.11
|
|
Nodes (16): CounterContext, CounterContextType, defaultData, FinancialScoreButtonProps, FinancialScoreCard(), FinancialScoreCardProps, FinancialScoreDisplay(), FinancialScoreDisplayProps (+8 more)
|
|
|
|
### Community 17 - "Community 17"
|
|
Cohesion: 0.12
|
|
Nodes (13): db, pool, events, stmt, reports, stmt, CAT_TO_SUBMENU, GLANCE (+5 more)
|
|
|
|
### Community 18 - "Community 18"
|
|
Cohesion: 0.11
|
|
Nodes (6): KW_EN, KW_FA, KW_POS, LoginForm(), Mode, RegisterForm()
|
|
|
|
### Community 19 - "Community 19"
|
|
Cohesion: 0.11
|
|
Nodes (10): BASE_METALS, UPDATE_LOG, DATA_SOURCES, PRICE_TABLE_ROWS, PRODUCT_CATEGORIES, Pulse(), SLIDES, STATS (+2 more)
|
|
|
|
### Community 20 - "Community 20"
|
|
Cohesion: 0.18
|
|
Nodes (15): COMPANIES, daemon(), __dirname, faDate(), fetchItems(), fetchT(), HISTORY, loadHistory() (+7 more)
|
|
|
|
### Community 21 - "Community 21"
|
|
Cohesion: 0.13
|
|
Nodes (9): card, ContactCard(), EMPTY, Extra, IdentityCard(), keyFor(), loadExtra(), saveExtra() (+1 more)
|
|
|
|
### Community 22 - "Community 22"
|
|
Cohesion: 0.13
|
|
Nodes (13): GreenSteelProject, greenSteelProjects, COUNTRY_FA, faNum(), GreenSteelTracker(), REGION_COLOR, REGION_FA, REGION_ORDER (+5 more)
|
|
|
|
### Community 23 - "Community 23"
|
|
Cohesion: 0.11
|
|
Nodes (17): compilerOptions, allowImportingTsExtensions, erasableSyntaxOnly, lib, module, moduleDetection, moduleResolution, noEmit (+9 more)
|
|
|
|
### Community 24 - "Community 24"
|
|
Cohesion: 0.11
|
|
Nodes (16): rowToAdvisoryMember(), rowToArticle(), rowToBanner(), rowToEvent(), rowToFactoryReport(), rowToInstituteStat(), rowToIntegration(), rowToMarketChartPoint() (+8 more)
|
|
|
|
### Community 25 - "Community 25"
|
|
Cohesion: 0.18
|
|
Nodes (14): CATEGORIES, createDraft(), decode(), generate(), get(), main(), NEWS_SITES, PANEL (+6 more)
|
|
|
|
### Community 26 - "Community 26"
|
|
Cohesion: 0.12
|
|
Nodes (8): Arc, ARCS, COLORS, Globe(), MapEventsSection(), EASE, MembershipGate(), MembershipGate()
|
|
|
|
### Community 27 - "Community 27"
|
|
Cohesion: 0.20
|
|
Nodes (13): main(), readStdin(), respond(), { run: runStats }, buildStats(), compactNumber(), formatNumber(), formatStats() (+5 more)
|
|
|
|
### Community 28 - "Community 28"
|
|
Cohesion: 0.12
|
|
Nodes (11): About(), COUNCIL_MEMBERS, COUNCIL_PILLARS, DEPT_TEAMS, DEPTS, DIRECTOR, DIRECTOR_PILLARS, memberGrid (+3 more)
|
|
|
|
### Community 29 - "Community 29"
|
|
Cohesion: 0.18
|
|
Nodes (13): decode(), __dirname, get(), main(), MINE_SRC, norm(), parseRss(), ROOT (+5 more)
|
|
|
|
### Community 30 - "Community 30"
|
|
Cohesion: 0.13
|
|
Nodes (10): Lang, LangContext, LangCtx, InternalNewsSection(), NEWS, NewsItem, T, Membership() (+2 more)
|
|
|
|
### Community 31 - "Community 31"
|
|
Cohesion: 0.15
|
|
Nodes (12): COUNTRY_FA, faDigits(), faNum(), linkBtn, METHOD_COLOR, METHOD_FA, METHOD_ORDER, Plant (+4 more)
|
|
|
|
### Community 32 - "Community 32"
|
|
Cohesion: 0.16
|
|
Nodes (14): ADVISORY_BOARD, BANNERS, EVENTS, FACTORY_REPORTS, INTEGRATIONS, main(), PLANS, PODCASTS (+6 more)
|
|
|
|
### Community 33 - "Community 33"
|
|
Cohesion: 0.15
|
|
Nodes (8): MagicTextGroupProps, MagicTextProps, WordProps, formatPrice(), LOREM_PARAGRAPHS, ReportDetail(), TOC_ITEMS, TYPE_LABELS
|
|
|
|
### Community 34 - "Community 34"
|
|
Cohesion: 0.15
|
|
Nodes (9): Area, RadarTechSection(), RESEARCH_AREAS, T, CATEGORY_ICON, CATEGORY_LABEL, Radar(), RadarItemModal() (+1 more)
|
|
|
|
### Community 36 - "Community 36"
|
|
Cohesion: 0.23
|
|
Nodes (12): buildMonth(), CBox(), EVENT_IMGS, Events(), faNum(), HERO_TARGET, J_MONTHS, jParts() (+4 more)
|
|
|
|
### Community 37 - "Community 37"
|
|
Cohesion: 0.23
|
|
Nodes (8): router, bootstrapPlans(), Plan, PlanCtaVariant, plans, bootstrapTeam(), team, TeamMember
|
|
|
|
### Community 38 - "Community 38"
|
|
Cohesion: 0.27
|
|
Nodes (10): FinancialScoreCards(), Card(), CardAction(), CardContent(), CardDescription(), CardFooter(), CardHeader(), CardTitle() (+2 more)
|
|
|
|
### Community 39 - "Community 39"
|
|
Cohesion: 0.25
|
|
Nodes (10): Header(), useAuth(), useLang(), AuthPage(), PostDetail(), ProfilePage(), RadarPost(), CONTENT (+2 more)
|
|
|
|
### Community 40 - "Community 40"
|
|
Cohesion: 0.18
|
|
Nodes (8): CardDetail, L, Props, buildIndex(), KPIS, T, Technology(), TECHS
|
|
|
|
### Community 41 - "Community 41"
|
|
Cohesion: 0.18
|
|
Nodes (9): bootstrapPosts(), CommentTag, getPost(), Post, PostBlock, PostComment, POSTS, RELATED (+1 more)
|
|
|
|
### Community 42 - "Community 42"
|
|
Cohesion: 0.18
|
|
Nodes (5): Expert, Experts(), FEATURED_EXPERTS, ROOM_EXPERTS, TR
|
|
|
|
### Community 43 - "Community 43"
|
|
Cohesion: 0.18
|
|
Nodes (9): cats, DATA, DATES_EN, DATES_FA, __dirname, envPath, IMGS, pool (+1 more)
|
|
|
|
### Community 44 - "Community 44"
|
|
Cohesion: 0.20
|
|
Nodes (3): FAQS, FEATURES, PLAN_EXTRA_FEATURES
|
|
|
|
### Community 45 - "Community 45"
|
|
Cohesion: 0.29
|
|
Nodes (7): upsertPrice(), fetchPage(), parseChangeCell(), parsePrices(), scrapeOnce(), SOURCES, toNumber()
|
|
|
|
### Community 46 - "Community 46"
|
|
Cohesion: 0.20
|
|
Nodes (6): FA_DIGITS, IMG, MONTHS, pool, SOURCES, TAGS
|
|
|
|
### Community 47 - "Community 47"
|
|
Cohesion: 0.25
|
|
Nodes (4): FinancialScore(), FinancialScoreHalfCircle(), Utils, newOtp()
|
|
|
|
### Community 48 - "Community 48"
|
|
Cohesion: 0.22
|
|
Nodes (6): bootstrapMedia(), MediaLangText, PodcastItem, podcasts, VideoItem, videos
|
|
|
|
### Community 49 - "Community 49"
|
|
Cohesion: 0.22
|
|
Nodes (7): bootstrapReports(), Report, ReportCategory, reports, ReportType, Result, SearchResults()
|
|
|
|
### Community 50 - "Community 50"
|
|
Cohesion: 0.25
|
|
Nodes (4): bootstrapEvents(), Event, events, EventType
|
|
|
|
### Community 51 - "Community 51"
|
|
Cohesion: 0.25
|
|
Nodes (6): bootstrapFactoryReports(), FACTORY_REPORTS, FACTORY_REPORTS_META, FactoryReport, SCROLL_DIRS, ScrollDir
|
|
|
|
### Community 52 - "Community 52"
|
|
Cohesion: 0.25
|
|
Nodes (6): bootstrapIntegrations(), ICON_TYPES, Integration, IntegrationIcon, INTEGRATIONS, INTEGRATIONS_META
|
|
|
|
### Community 53 - "Community 53"
|
|
Cohesion: 0.29
|
|
Nodes (5): formatPrice(), MONTH_ORDER, ReportRow(), TYPE_COLORS, TYPE_LABELS
|
|
|
|
### Community 54 - "Community 54"
|
|
Cohesion: 0.25
|
|
Nodes (7): Geopolitics(), KPIS, LEVEL_COLOR, LEVEL_LABEL, SCENARIOS, SIGNALS, T
|
|
|
|
### Community 55 - "Community 55"
|
|
Cohesion: 0.25
|
|
Nodes (6): fallbackRiskItems, LEVEL, RiskItem, RiskLevel, RiskSection(), T
|
|
|
|
### Community 56 - "Community 56"
|
|
Cohesion: 0.25
|
|
Nodes (7): INITIATIVES, KPIS, LEVEL_COLOR, LEVEL_LABEL, SIGNALS, Sustainability(), T
|
|
|
|
### Community 57 - "Community 57"
|
|
Cohesion: 0.33
|
|
Nodes (5): Button, ButtonProps, buttonVariants, LiquidButton(), liquidbuttonVariants
|
|
|
|
### Community 58 - "Community 58"
|
|
Cohesion: 0.33
|
|
Nodes (5): Contact(), Errors, FormState, inputStyle(), tr
|
|
|
|
### Community 59 - "Community 59"
|
|
Cohesion: 0.33
|
|
Nodes (5): advisoryBoard, AdvisoryMember, bootstrapAbout(), VisionItem, visionItems
|
|
|
|
### Community 60 - "Community 60"
|
|
Cohesion: 0.33
|
|
Nodes (4): bootstrapRisks(), RiskAlert, riskAlerts, RiskLevel
|
|
|
|
### Community 61 - "Community 61"
|
|
Cohesion: 0.33
|
|
Nodes (3): AtAGlanceSection(), Glance, ITEMS
|
|
|
|
### Community 62 - "Community 62"
|
|
Cohesion: 0.47
|
|
Nodes (4): CompactCard(), formatPrice(), SpecialCard(), typeLabel
|
|
|
|
### Community 63 - "Community 63"
|
|
Cohesion: 0.40
|
|
Nodes (6): faNum(), GeopoliticsModule(), MegaTrendsModule(), tchip(), TechRadarModule(), th()
|
|
|
|
## Knowledge Gaps
|
|
- **516 isolated node(s):** `{ run: runStats }`, `fs`, `path`, `name`, `private` (+511 more)
|
|
These have ≤1 connection - possible missing edges or undocumented components.
|
|
- **10 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
|
|
|
|
## Suggested Questions
|
|
_Questions this graph is uniquely positioned to answer:_
|
|
|
|
- **Why does `Utils` connect `Community 47` to `Community 16`?**
|
|
_High betweenness centrality (0.161) - this node is a cross-community bridge._
|
|
- **Why does `newOtp()` connect `Community 47` to `Community 1`?**
|
|
_High betweenness centrality (0.159) - this node is a cross-community bridge._
|
|
- **Why does `parsePrices()` connect `Community 45` to `Community 0`?**
|
|
_High betweenness centrality (0.070) - this node is a cross-community bridge._
|
|
- **Are the 31 inferred relationships involving `useLang()` (e.g. with `Header()` and `DigitLocalizer()`) actually correct?**
|
|
_`useLang()` has 31 INFERRED edges - model-reasoned connections that need verification._
|
|
- **What connects `{ run: runStats }`, `fs`, `path` to the rest of the system?**
|
|
_528 weakly-connected nodes found - possible documentation gaps or missing edges._
|
|
- **Should `Community 0` be split into smaller, more focused modules?**
|
|
_Cohesion score 0.09394205443371378 - nodes in this community are weakly interconnected._
|
|
- **Should `Community 1` be split into smaller, more focused modules?**
|
|
_Cohesion score 0.03696741854636591 - nodes in this community are weakly interconnected._
|
|
|
|
## Build Notes
|
|
|
|
- AST/code graph completed.
|
|
- Semantic docs/images extraction was incomplete in this Codex run; rebuild with GEMINI_API_KEY/GOOGLE_API_KEY or another graphify backend for full semantic coverage.
|
|
- Video transcription skipped because faster-whisper is not installed.
|