Files
shanxia2.0/web-admin/graphify-out/GRAPH_REPORT.md
T
2026-05-23 21:27:10 +08:00

13 KiB

Graph Report - src (2026-05-23)

Corpus Check

  • Large corpus: 588 files · ~319,711 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.

Summary

  • 1478 nodes · 1851 edges · 35 communities detected
  • Extraction: 78% EXTRACTED · 22% INFERRED · 0% AMBIGUOUS · INFERRED: 411 edges (avg confidence: 0.8)
  • Token cost: 0 input · 0 output

Community Hubs (Navigation)

God Nodes (most connected - your core abstractions)

  1. get() - 161 edges
  2. WebSocketClient - 26 edges
  3. push() - 19 edges
  4. withFullscreenLoading() - 17 edges
  5. MenuProcessor - 16 edges
  6. VersionManager - 15 edges
  7. handleDynamicRoutes() - 15 edges
  8. TableCache - 14 edges
  9. StorageCompatibilityManager - 12 edges
  10. StorageConfig - 10 edges

Surprising Connections (you probably didn't know these)

  • handleBatchDelete() --calls--> withFullscreenLoading() [INFERRED] views/basic-info/customer/index.vue → utils/fullscreen-loading.ts
  • handleUnauthorizedResponse() --calls--> fetchRefreshToken() [INFERRED] utils/http/index.ts → api/auth.ts
  • fetchLeaveList() --calls--> get() [INFERRED] api/leave.ts → views/production/process-route/index.vue
  • fetchLeaveDetail() --calls--> get() [INFERRED] api/leave.ts → views/production/process-route/index.vue
  • fetchSampleReceptionCheckItemList() --calls--> get() [INFERRED] api/sample-reception-check-item.ts → views/production/process-route/index.vue

Communities

Community 0 - "Community 0"

Cohesion: 0.01 Nodes (113): fetchActiveRegions(), fetchCategoryList(), fetchCategoryParameters(), fetchCellProductPriceList(), fetchCellProductSpecList(), fetchCellProductTypeList(), fetchCellSampleTypeList(), fetchChannelAgreementPrices() (+105 more)

Community 1 - "Community 1"

Cohesion: 0.02 Nodes (6): fetchDeleteProjectSystemItem(), fetchGetRoleList(), fetchNotDeletedRegions(), fetchRegionList(), loadRoleList(), if()

Community 2 - "Community 2"

Cohesion: 0.03 Nodes (61): fetchBatchGenerateProtocolNos(), fetchBatchGenerateSampleCodes(), fetchBatchIssueProtocolNos(), fetchBatchIssueSampleCodes(), fetchCollectionProtocolNoList(), fetchCreateCollectionProtocolNo(), fetchCreateSampleCode(), fetchDeleteCollectionProtocolNo() (+53 more)

Community 3 - "Community 3"

Cohesion: 0.04 Nodes (31): fetchGetUserInfo(), clickTab(), handleTouchEnd(), setTransition(), IframeRouteManager, RouteRegistry, useCommon(), setupAfterEachGuard() (+23 more)

Community 4 - "Community 4"

Cohesion: 0.04 Nodes (33): fetchCollectionRegionList(), fetchCreateCollectionRegion(), fetchCreateHospital(), fetchDeleteCollectionRegion(), fetchDeleteHospital(), fetchHospitalList(), fetchUpdateCollectionRegion(), fetchUpdateHospital() (+25 more)

Community 5 - "Community 5"

Cohesion: 0.05 Nodes (33): fetchDeptTree(), fetchPostBoundUserIds(), FireworkSystem, reload(), formatUserLabel(), loadDeptData(), onPersonSelectChange(), subscribeTokenRefresh() (+25 more)

Community 6 - "Community 6"

Cohesion: 0.05 Nodes (41): fetchAccessLogList(), fetchCleanRoomList(), fetchCreateAccessLog(), fetchCreateCleanRoom(), fetchCreateSite(), fetchDeleteAccessLog(), fetchDeleteCleanRoom(), fetchDeleteSite() (+33 more)

Community 7 - "Community 7"

Cohesion: 0.05 Nodes (29): fetchCreateCustomer(), fetchCreateMenu(), fetchCustomerList(), fetchDeleteCustomer(), fetchDeleteMenu(), fetchMenuTree(), fetchUpdateCustomer(), fetchUpdateMenu() (+21 more)

Community 8 - "Community 8"

Cohesion: 0.09 Nodes (5): handleReset(), handleSearch(), WebSocketClient, TableCache, emit()

Community 9 - "Community 9"

Cohesion: 0.07 Nodes (11): useSettingsHandlers(), useSettingsPanel(), useSettingsState(), ComponentLoader, RoutePermissionValidator, RouteTransformer, useCeremony(), useTheme() (+3 more)

Community 10 - "Community 10"

Cohesion: 0.09 Nodes (31): toLogin(), base64ToBytes(), bytesToBase64(), decryptJson(), deriveKey(), encryptJson(), fromBase64Url(), hexToBytes() (+23 more)

Community 11 - "Community 11"

Cohesion: 0.06 Nodes (17): fetchAttachmentDownloadUrl(), handleReceptionAttachmentDownload(), attachmentFullUrl(), handleAttachmentDownload(), handleAttachmentPreview(), formatDetectMethods(), handleReceptionAttachmentDownload(), handleTaskAttachmentDownload() (+9 more)

Community 12 - "Community 12"

Cohesion: 0.09 Nodes (8): getDefaultLanguage(), checkStorageCompatibility(), StorageConfig, getSystemStorage(), getSysVersion(), StorageKeyManager, StorageCompatibilityManager, validateStorageData()

Community 13 - "Community 13"

Cohesion: 0.1 Nodes (13): fetchEthnicList(), addSample(), applyDonationBundleToForm(), confirmBatchTransportApply(), createEmptyTransport(), ensureDonationProtocolNoInOptions(), ensureEthnicOptionInList(), handleOpenForAdd() (+5 more)

Community 14 - "Community 14"

Cohesion: 0.1 Nodes (8): fetchGetMenuList(), fetchGetMenuCodes(), fetchLogin(), fetchRefreshToken(), MenuProcessor, useAppMode(), useAuth(), buildWebEncryptedLoginBody()

Community 15 - "Community 15"

Cohesion: 0.12 Nodes (15): addCopyButton(), highlightCode(), insertLineNumbers(), isBlockProcessed(), markBlockAsProcessed(), processBlock(), setupHighlightDirective(), setupRippleDirective() (+7 more)

Community 16 - "Community 16"

Cohesion: 0.12 Nodes (19): fetchCreateUser(), fetchDeleteUser(), fetchResetPassword(), fetchRoleOptions(), fetchUpdateUser(), fetchUserDetail(), formatUserDeptDisplay(), handleAdd() (+11 more)

Community 17 - "Community 17"

Cohesion: 0.14 Nodes (9): auditorDisplay(), dash(), expressName(), formatYm(), formatYmd(), sampleTypeName(), siteName(), unitName() (+1 more)

Community 18 - "Community 18"

Cohesion: 0.19 Nodes (3): fetchGetLatestUpgradeLog(), systemUpgrade(), VersionManager

Community 19 - "Community 19"

Cohesion: 0.12 Nodes (12): fetchApproveTask(), fetchBusinessAllTasks(), fetchCompletedTasks(), fetchDesignerData(), fetchInstanceDetail(), fetchMyInstances(), fetchPendingTasks(), fetchProcessDefList() (+4 more)

Community 20 - "Community 20"

Cohesion: 0.16 Nodes (10): useTable(), useTableImpl(), getColumnChecks(), useTableColumns(), createErrorHandler(), createSmartDebounce(), defaultResponseAdapter(), extractPagination() (+2 more)

Community 21 - "Community 21"

Cohesion: 0.27 Nodes (14): useChart(), useChartComponent(), useChartOps(), colourBlend(), getCssVar(), getDarkColor(), getLightColor(), handleElementThemeColor() (+6 more)

Community 23 - "Community 23"

Cohesion: 0.18 Nodes (3): fetchMaterialList(), fetchMaterialOptions(), fetchMaterialStockLogList()

Community 24 - "Community 24"

Cohesion: 0.2 Nodes (2): fetchQcMaterialList(), fetchQcMaterialOptions()

Community 26 - "Community 26"

Cohesion: 0.39 Nodes (6): isIgnorableScriptError(), normalizeErrorMessage(), registerPromiseErrorHandler(), registerResourceErrorHandler(), scriptErrorHandler(), setupErrorHandle()

Community 27 - "Community 27"

Cohesion: 0.36 Nodes (1): TableHeightCalculator

Community 28 - "Community 28"

Cohesion: 0.33 Nodes (2): logApiCryptoBootInfo(), maskSecret()

Community 29 - "Community 29"

Cohesion: 0.29 Nodes (2): fetchLeaveDetail(), fetchLeaveList()

Community 30 - "Community 30"

Cohesion: 0.47 Nodes (3): isPaymentDueWithinWarnWindow(), parsePaymentDueYmd(), startOfLocalDay()

Community 31 - "Community 31"

Cohesion: 0.33 Nodes (2): fetchSampleReceptionCheckItemList(), fetchSampleReceptionCheckItemsActive()

Community 33 - "Community 33"

Cohesion: 0.53 Nodes (4): isEtaTodayOrEarlier(), parseEtaLocalDate(), sampleReceptionRowClassName(), startOfLocalDay()

Community 34 - "Community 34"

Cohesion: 0.5 Nodes (2): focusInput(), handleKeydown()

Community 35 - "Community 35"

Cohesion: 0.67 Nodes (2): if(), logSidebarMenu()

Community 36 - "Community 36"

Cohesion: 1.0 Nodes (2): getSettingDefaults(), resetToDefaults()

Community 38 - "Community 38"

Cohesion: 1.0 Nodes (2): defaultAvatarPathByRole(), resolveUserAvatarUrl()

Knowledge Gaps

  • Thin community Community 24 (10 nodes): fetchBatchStockInQcMaterial(), fetchBatchStockOutQcMaterial(), fetchCreateQcMaterial(), fetchDeleteQcMaterial(), fetchQcMaterialList(), fetchQcMaterialOptions(), fetchStockInQcMaterial(), fetchStockOutQcMaterial(), fetchUpdateQcMaterial(), qc-material.ts Too small to be a meaningful cluster - may be noise or needs more connections extracted.
  • Thin community Community 27 (8 nodes): TableHeightCalculator, .calculate(), .calculateOffset(), .calculatePaginationOffset(), .constructor(), .getHeaderHeight(), useTableHeight(), useTableHeight.ts Too small to be a meaningful cluster - may be noise or needs more connections extracted.
  • Thin community Community 28 (7 nodes): App.vue, main.ts, refreshButtonAutoIcons(), refreshPanelTitleIcons(), logApiCryptoBootInfo(), maskSecret(), console.ts Too small to be a meaningful cluster - may be noise or needs more connections extracted.
  • Thin community Community 29 (7 nodes): fetchCreateLeave(), fetchDeleteLeave(), fetchLeaveDetail(), fetchLeaveList(), fetchSubmitLeave(), fetchUpdateLeave(), leave.ts Too small to be a meaningful cluster - may be noise or needs more connections extracted.
  • Thin community Community 31 (6 nodes): fetchCreateSampleReceptionCheckItem(), fetchDeleteSampleReceptionCheckItem(), fetchSampleReceptionCheckItemList(), fetchSampleReceptionCheckItemsActive(), fetchUpdateSampleReceptionCheckItem(), sample-reception-check-item.ts Too small to be a meaningful cluster - may be noise or needs more connections extracted.
  • Thin community Community 34 (5 nodes): focusInput(), handleKeydown(), if(), search(), index.vue Too small to be a meaningful cluster - may be noise or needs more connections extracted.
  • Thin community Community 35 (4 nodes): if(), logSidebarMenu(), index.vue, SidebarSubmenu.vue Too small to be a meaningful cluster - may be noise or needs more connections extracted.
  • Thin community Community 36 (3 nodes): getSettingDefaults(), resetToDefaults(), setting.ts Too small to be a meaningful cluster - may be noise or needs more connections extracted.
  • Thin community Community 38 (3 nodes): defaultAvatarPathByRole(), resolveUserAvatarUrl(), user-avatar.ts Too small to be a meaningful cluster - may be noise or needs more connections extracted.

Suggested Questions

Questions this graph is uniquely positioned to answer:

  • Why does get() connect Community 0 to Community 1, Community 2, Community 3, Community 4, Community 5, Community 6, Community 7, Community 13, Community 14, Community 16, Community 17, Community 18, Community 19, Community 23, Community 24, Community 29, Community 31? High betweenness centrality (0.284) - this node is a cross-community bridge.
  • Why does push() connect Community 5 to Community 1, Community 8, Community 9, Community 11, Community 13, Community 18? High betweenness centrality (0.083) - this node is a cross-community bridge.
  • Why does fetchGetLatestUpgradeLog() connect Community 18 to Community 0? High betweenness centrality (0.043) - this node is a cross-community bridge.
  • Are the 160 inferred relationships involving get() (e.g. with buildTreePathLabelFromFlat() and alignFqPaymentDetailsForDisplay()) actually correct? get() has 160 INFERRED edges - model-reasoned connections that need verification.
  • Are the 18 inferred relationships involving push() (e.g. with fetchAllPagedRecords() and calcInstallmentDueAmounts()) actually correct? push() has 18 INFERRED edges - model-reasoned connections that need verification.
  • Are the 16 inferred relationships involving withFullscreenLoading() (e.g. with .close() and handleSubmit()) actually correct? withFullscreenLoading() has 16 INFERRED edges - model-reasoned connections that need verification.
  • Should Community 0 be split into smaller, more focused modules? Cohesion score 0.01 - nodes in this community are weakly interconnected.