6.6 KiB
Graph Report - ghatreh_user (2026-09-27)
Corpus Check
- 598 files · ~506,859 words
- Verdict: corpus is large enough that graph structure adds value.
- Unclassified: 51 file(s) not represented in the graph (top: .less 25, .eot 6, .ttf 6)
Summary
- 159 nodes · 338 edges · 11 communities (10 shown, 1 thin omitted)
- Extraction: 93% EXTRACTED · 7% INFERRED · 0% AMBIGUOUS · INFERRED: 24 edges (avg confidence: 0.85)
- Token cost: 0 input · 0 output
Graph Freshness
- Built from commit:
bc64ff47 - Run
git rev-parse HEADand compare to check if the graph is stale. - Run
graphify update .after code changes (no API cost).
Community Hubs (Navigation)
- useTvMonitorPage
- ref_utils
- index.vue
- productPrice.ts
- forceReconnect
- api/products.ts
- priceSocket.ts
- connect
- runFallbackPoll
- AuthPriceStream
- initPriceRealtimeChannel
God Nodes (most connected - your core abstractions)
useTvMonitorPage()- 26 edgesconnect()- 15 edgesgetProductBaseBuyPrice()- 10 edgestouchStreamActivity()- 9 edgesbindStreamEvents()- 9 edgesforceReconnect()- 9 edgesrunFallbackPoll()- 8 edgesmaybeShowNetworkAlert()- 8 edgesdisconnect()- 8 edgeshandleStreamLost()- 7 edges
Surprising Connections (you probably didn't know these)
connect()--calls-->AuthPriceStream[EXTRACTED] src/utils/priceSocket.ts → src/utils/priceSocket.ts Bridges community 9 → community 7connect()--calls-->resolveStreamUrl()[EXTRACTED] src/utils/priceSocket.ts → src/utils/priceSocket.ts Bridges community 10 → community 7forceReconnect()--calls-->clearReconnectTimer()[EXTRACTED] src/utils/priceSocket.ts → src/utils/priceSocket.ts Bridges community 7 → community 4connect()--calls-->touchStreamActivity()[EXTRACTED] src/utils/priceSocket.ts → src/utils/priceSocket.ts Bridges community 1 → community 7connect()--calls-->stopFallbackPolling()[EXTRACTED] src/utils/priceSocket.ts → src/utils/priceSocket.ts Bridges community 8 → community 7
Import Cycles
- None detected.
Communities (11 total, 1 thin omitted)
Community 0 - "useTvMonitorPage"
Cohesion: 0.09 Nodes (32): ref_api, ref_assets, ref_moment, ref_moment_jalaali, ref_vue, ref_vueuse_core, bankCoinRank(), floorTvToman() (+24 more)
Community 1 - "ref_utils"
Cohesion: 0.23 Nodes (15): ref_composables, ref_store, ref_utils, applyAppNotificationFromStream(), applyLastFromStream(), applySettingsFromStream(), applyUnreadCountFromStreamPayload(), bindStreamEvents() (+7 more)
Community 2 - "index.vue"
Cohesion: 0.21 Nodes (14): ref_components, coinColumns, extraTickerLoop, loopNews(), loopTicker(), marqueeCopies(), newsDuration(), newsTickerDuration (+6 more)
Community 3 - "productPrice.ts"
Cohesion: 0.19 Nodes (25): applyPriceOffsetPercent(), buyCashFee(), cashFeeOptions(), colleagueSideUnit(), getColleagueSourcedUnitPrice(), getProductBaseBuyPrice(), getProductBaseSellPrice(), getProductBuyPrice() (+17 more)
Community 4 - "forceReconnect"
Cohesion: 0.21 Nodes (16): bindBrowserNetworkListeners(), forceReconnect(), isPageVisible(), maybeShowNetworkAlert(), notifyPriceLastFetchFailed(), onBrowserOffline(), onBrowserOnline(), onPageShow() (+8 more)
Community 5 - "api/products.ts"
Cohesion: 0.15 Nodes (5): ref_models, TvServerTime, CountPInventory, PInventory, Product
Community 6 - "priceSocket.ts"
Cohesion: 0.22 Nodes (4): ref_ant_design_vue, getPriceSourceStaleMs(), isMobileDevice(), isRealPriceOutage()
Community 7 - "connect"
Cohesion: 0.36 Nodes (10): clearConnectingLifecycle(), clearReconnectTimer(), connect(), disconnect(), disconnectSourceOnly(), handleStreamLost(), markConnectingLifecycle(), scheduleReconnect() (+2 more)
Community 8 - "runFallbackPoll"
Cohesion: 0.38 Nodes (7): ref_views, clearFallbackPollTimer(), clearPriceNetworkAlert(), runFallbackPoll(), scheduleFallbackPoll(), startFallbackPolling(), stopFallbackPolling()
Community 10 - "initPriceRealtimeChannel"
Cohesion: 0.60 Nodes (5): initPriceRealtimeChannel(), isPriceWebSocketEnabled(), isTruthySetting(), resolveStreamPath(), resolveStreamUrl()
Knowledge Gaps
- 7 isolated node(s):
TvServerTime,{ theme, themeVars, toggleTheme },{ rootEl, brandName, brandLogo, nowLabel, dateLabel, parsianCoins, bankCoins, hasCoinBoard, hasBoardContent, tickerProducts, tickerTitle, extraTickerProducts, extraTickerTitle, tvNewsItems, newsTickerTitle, statusBanner, showMainQuote, mainQuoteReady, mainQuoteReady, liveBuy, liveSell, isLive, isFullscreen, cursorHidden, loading, productWeightLabel, tickerItemLabel, isProductTvInactive, productBuyLabel, productSellLabel, liveQuoteLabel, toggleFullscreen, },{ setColListRef, pauseColAuto, resumeColAuto },CountPInventory(+2 more) These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 29 node(s) total have ≤1 connection when file, concept and rationale nodes are included.) - 1 thin communities (<3 nodes) omitted from report — run
graphify queryto explore isolated nodes.
Suggested Questions
Questions this graph is uniquely positioned to answer:
- Why does
AuthPriceStreamconnectAuthPriceStreamtopriceSocket.ts,connect? High betweenness centrality (0.043) - this node is a cross-community bridge. - Why does
runFallbackPoll()connectrunFallbackPolltoref_utils,forceReconnect,priceSocket.ts? High betweenness centrality (0.020) - this node is a cross-community bridge. - Are the 13 inferred relationships involving
useTvMonitorPage()(e.g. withisBankCoin()andisGoldBar()) actually correct?useTvMonitorPage()has 13 INFERRED edges - model-reasoned connections that need verification. - What connects
TvServerTime,{ theme, themeVars, toggleTheme },{ rootEl, brandName, brandLogo, nowLabel, dateLabel, parsianCoins, bankCoins, hasCoinBoard, hasBoardContent, tickerProducts, tickerTitle, extraTickerProducts, extraTickerTitle, tvNewsItems, newsTickerTitle, statusBanner, showMainQuote, mainQuoteReady, mainQuoteReady, liveBuy, liveSell, isLive, isFullscreen, cursorHidden, loading, productWeightLabel, tickerItemLabel, isProductTvInactive, productBuyLabel, productSellLabel, liveQuoteLabel, toggleFullscreen, }to the rest of the system? 7 weakly-connected nodes found - possible documentation gaps or missing edges. - Should
useTvMonitorPagebe split into smaller, more focused modules? Cohesion score 0.09365079365079365 - nodes in this community are weakly interconnected.