Files
shanxia2.0/web-admin/graphify-out/GRAPH_REPORT.md
T
2026-05-28 07:37:16 +08:00

16 KiB

Graph Report - src (2026-05-28)

Corpus Check

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

Summary

  • 1901 nodes · 2445 edges · 40 communities detected
  • Extraction: 78% EXTRACTED · 22% INFERRED · 0% AMBIGUOUS · INFERRED: 547 edges (avg confidence: 0.8)
  • Token cost: 0 input · 0 output

Community Hubs (Navigation)

God Nodes (most connected - your core abstractions)

  1. get() - 203 edges
  2. push() - 36 edges
  3. WebSocketClient - 26 edges
  4. emit() - 16 edges
  5. MenuProcessor - 16 edges
  6. withFullscreenLoading() - 15 edges
  7. VersionManager - 15 edges
  8. handleDynamicRoutes() - 15 edges
  9. TableCache - 14 edges
  10. buildOutboundPilotContextSections() - 12 edges

Surprising Connections (you probably didn't know these)

  • handleBatchDelete() --calls--> withFullscreenLoading() [INFERRED] views/production/consumable/ConsumablePackTab.vue → utils/fullscreen-loading.ts
  • handleReceptionAttachmentDownload() --calls--> downloadAttachmentFile() [INFERRED] views/production/production-work-order/index.vue → utils/download-attachment.ts
  • subscribeTokenRefresh() --calls--> push() [INFERRED] utils/http/index.ts → views/operations/storage-facility/index.vue
  • handleUnauthorizedResponse() --calls--> fetchRefreshToken() [INFERRED] utils/http/index.ts → api/auth.ts
  • fetchConsumableList() --calls--> get() [INFERRED] api/production.ts → views/production/process/ProcessRouteTab.vue

Communities

Community 0 - "Community 0"

Cohesion: 0.01 Nodes (137): fetchAccessLogList(), fetchActiveRegions(), fetchCategoryList(), fetchCategoryParameters(), fetchCellProductPriceList(), fetchCellProductSpecList(), fetchCellProductTypeList(), fetchCellSampleTypeList() (+129 more)

Community 1 - "Community 1"

Cohesion: 0.01 Nodes (10): fetchDeleteProjectSystemItem(), fetchDeptTree(), fetchGetRoleList(), fetchNotDeletedRegions(), fetchPostBoundUserIds(), fetchRegionList(), if(), loadRoleList() (+2 more)

Community 2 - "Community 2"

Cohesion: 0.03 Nodes (87): batchSavePilotCheckup(), deletePilotCheckupActualItem(), fetchCheckupInstitutionList(), fetchCheckupInstitutionPackageDetail(), fetchCheckupInstitutionPackages(), fetchCheckupInstitutionProjects(), fetchPilotCheckupActualItems(), fetchPilotCheckupDetail() (+79 more)

Community 3 - "Community 3"

Cohesion: 0.02 Nodes (48): fetchGetMenuList(), fetchGetMenuCodes(), fetchGetUserInfo(), fetchLogin(), fetchRefreshToken(), clickTab(), handleTouchEnd(), setTransition() (+40 more)

Community 4 - "Community 4"

Cohesion: 0.03 Nodes (37): fetchAllConsumablePacks(), fetchAllConsumables(), fetchAllConsumableStockLogs(), fetchAllOutputTypes(), fetchAllProcessCategories(), fetchAllProcesses(), fetchAllReagents(), fetchAllReagentStockLogs() (+29 more)

Community 5 - "Community 5"

Cohesion: 0.03 Nodes (26): fetchAttachmentDownloadUrl(), collectIds(), fullFileUrl(), handleDownloadAttachment(), handlePreviewAttachment(), isVideoFile(), handleDownloadAttachment(), attachmentFullUrl() (+18 more)

Community 6 - "Community 6"

Cohesion: 0.04 Nodes (28): updateInfusionScheduleStatus(), submitOutboundReleaseReview(), fetchStorageReleaseReviewDetail(), fetchStorageReleaseReviewList(), submitStorageReleaseReview(), disableDevTools(), handleLock(), handleUnlock() (+20 more)

Community 7 - "Community 7"

Cohesion: 0.06 Nodes (11): fetchGetLatestUpgradeLog(), getDefaultLanguage(), checkStorageCompatibility(), StorageConfig, getSystemStorage(), getSysVersion(), StorageKeyManager, StorageCompatibilityManager (+3 more)

Community 8 - "Community 8"

Cohesion: 0.06 Nodes (27): fetchCollectionRegionList(), fetchCreateCollectionRegion(), fetchCreateHospital(), fetchDeleteCollectionRegion(), fetchDeleteHospital(), fetchHospitalList(), fetchUpdateCollectionRegion(), fetchUpdateHospital() (+19 more)

Community 9 - "Community 9"

Cohesion: 0.06 Nodes (27): for(), set(), walk(), annotateForkEdges(), chainApiToElements(), walkAncestorBranch(), walkAncestorParents(), if() (+19 more)

Community 10 - "Community 10"

Cohesion: 0.1 Nodes (2): WebSocketClient, TableCache

Community 11 - "Community 11"

Cohesion: 0.08 Nodes (32): toLogin(), base64ToBytes(), bytesToBase64(), decryptJson(), deriveKey(), encryptJson(), fromBase64Url(), hexToBytes() (+24 more)

Community 12 - "Community 12"

Cohesion: 0.08 Nodes (21): auditorDisplay(), dash(), expressName(), formatYm(), formatYmd(), sampleTypeName(), siteName(), unitName() (+13 more)

Community 13 - "Community 13"

Cohesion: 0.07 Nodes (21): handleBlur(), handleFocus(), handleInput(), fetchEthnicList(), addSample(), applyDonationBundleToForm(), confirmBatchTransportApply(), createEmptyTransport() (+13 more)

Community 14 - "Community 14"

Cohesion: 0.08 Nodes (12): if(), maskIdCard(), buildOutboundPilotContextSections(), applicationStatusLabel(), applicationStatusTagType(), infusionMethodLabel(), infusionStatusLabel(), infusionStatusTagType() (+4 more)

Community 15 - "Community 15"

Cohesion: 0.08 Nodes (24): fetchCreateSite(), fetchDeleteSite(), fetchDictDataOptions(), fetchSiteList(), fetchUpdateSite(), fetchUserList(), formatHandoverUserLabel(), formatNowDatetime() (+16 more)

Community 16 - "Community 16"

Cohesion: 0.11 Nodes (21): fetchFullmoonTodoList(), fetchUpdateFullmoonTodoInsurance(), fetchCollectionProtocolDetail(), buildInsuranceAttachmentsValue(), buildInsurancePayload(), formatYmdFromAny(), fullFileUrl(), handleBatchEdit() (+13 more)

Community 17 - "Community 17"

Cohesion: 0.11 Nodes (22): fetchCreateUser(), fetchDeleteUser(), fetchResetPassword(), fetchRoleOptions(), fetchUpdateUser(), fetchUserDetail(), formatUserDeptDisplay(), handleAdd() (+14 more)

Community 18 - "Community 18"

Cohesion: 0.12 Nodes (22): completePilotApplication(), deletePilotApplication(), fetchPilotApplicationList(), startPilotApplication(), voidPilotApplication(), handleBatchComplete(), handleBatchStart(), handleBatchVoid() (+14 more)

Community 19 - "Community 19"

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

Community 20 - "Community 20"

Cohesion: 0.1 Nodes (6): fetchProductionTaskDetail(), fetchProductionTaskList(), fetchUpdateProductionTask(), handleClose(), handleSubmit(), loadTaskDetail()

Community 21 - "Community 21"

Cohesion: 0.14 Nodes (19): fetchCreateMenu(), fetchDeleteMenu(), fetchMenuTree(), fetchUpdateMenu(), postorder(), preorder(), applyTreeExpand(), handleAdd() (+11 more)

Community 22 - "Community 22"

Cohesion: 0.16 Nodes (14): fetchPilotCheckupList(), canEditCheckup(), canFillCheckupInfo(), canMarkChecked(), handleDropdownCommand(), handleEdit(), handleReset(), handleSearch() (+6 more)

Community 23 - "Community 23"

Cohesion: 0.16 Nodes (15): fetchCreateCustomer(), fetchCustomerList(), fetchDeleteCustomer(), fetchUpdateCustomer(), formatLocalDate(), handleAdd(), handleDelete(), handleDropdownCommand() (+7 more)

Community 24 - "Community 24"

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

Community 25 - "Community 25"

Cohesion: 0.2 Nodes (2): ComponentLoader, RouteTransformer

Community 26 - "Community 26"

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

Community 27 - "Community 27"

Cohesion: 0.18 Nodes (5): fetchServiceOrderTxnList(), handleReset(), handleSearch(), handleTabChange(), loadData()

Community 29 - "Community 29"

Cohesion: 0.17 Nodes (3): fetchResearchDonationAuditList(), fetchResearchDonationDetail(), fetchResearchDonationList()

Community 30 - "Community 30"

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

Community 32 - "Community 32"

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

Community 33 - "Community 33"

Cohesion: 0.36 Nodes (1): TableHeightCalculator

Community 34 - "Community 34"

Cohesion: 0.25 Nodes (2): fetchQcTaskDetail(), fetchQcTaskList()

Community 35 - "Community 35"

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

Community 36 - "Community 36"

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

Community 40 - "Community 40"

Cohesion: 0.5 Nodes (3): reload(), handleMenuJump(), openExternalLink()

Community 41 - "Community 41"

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

Community 42 - "Community 42"

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

Community 44 - "Community 44"

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

Community 46 - "Community 46"

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

Knowledge Gaps

  • Thin community Community 10 (42 nodes): WebSocketClient, .calculateReconnectDelay(), .clearAllTimers(), .clearConnectionTimers(), .clearTimer(), .close(), .closeCurrentSocketForReconnect(), .connect(), .connectionStatusText(), .constructor(), .destroyInstance(), .flushMessageQueue(), .getInstance(), .getReadyStateText(), .handleClose(), .handleConnectionTimeout(), .handleError(), .handleMessage(), .handleOpen(), .init(), .isWebSocketConnected(), .reconnect(), .resetHeartbeat(), .send(), .startHeartbeat(), .startPing(), TableCache, .cleanupExpired(), .clear(), .clearByTags(), .clearCurrentSearch(), .clearPagination(), .constructor(), .evictLRU(), .generateKey(), .generateTags(), .get(), .getStats(), .log(), .set(), index.ts, tableCache.ts Too small to be a meaningful cluster - may be noise or needs more connections extracted.
  • Thin community Community 25 (17 nodes): ComponentLoader, .constructor(), .createEmptyComponent(), .createErrorComponent(), .load(), .loadIframe(), .loadLayout(), .load(), RouteTransformer, .extractFirstSegment(), .handleFirstLevelRoute(), .handleIframeRoute(), .handleNormalRoute(), .isFirstLevelRoute(), .transform(), ComponentLoader.ts, RouteTransformer.ts Too small to be a meaningful cluster - may be noise or needs more connections extracted.
  • Thin community Community 30 (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 33 (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 34 (8 nodes): fetchCompleteQcTask(), fetchCreateQcTask(), fetchDeleteQcTask(), fetchQcTaskDetail(), fetchQcTaskList(), fetchStartQcTask(), fetchUpdateQcTaskAttachments(), qc-task.ts Too small to be a meaningful cluster - may be noise or needs more connections extracted.
  • Thin community Community 35 (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 41 (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 42 (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 44 (3 nodes): getSettingDefaults(), resetToDefaults(), setting.ts Too small to be a meaningful cluster - may be noise or needs more connections extracted.
  • Thin community Community 46 (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 6, Community 7, Community 8, Community 9, Community 13, Community 15, Community 16, Community 17, Community 18, Community 20, Community 21, Community 22, Community 23, Community 27, Community 29, Community 30, Community 34? High betweenness centrality (0.260) - this node is a cross-community bridge.
  • Why does push() connect Community 2 to Community 1, Community 4, Community 5, Community 7, Community 40, Community 9, Community 10, Community 11, Community 13, Community 14, Community 15, Community 16? High betweenness centrality (0.143) - this node is a cross-community bridge.
  • Are the 202 inferred relationships involving get() (e.g. with collectLeafFacilityNodesInTreeOrder() and buildTreePathLabelFromFlat()) actually correct? get() has 202 INFERRED edges - model-reasoned connections that need verification.
  • Are the 35 inferred relationships involving push() (e.g. with collectLeafFacilityNodesInTreeOrder() and fetchAllPagedRecords()) actually correct? push() has 35 INFERRED edges - model-reasoned connections that need verification.
  • Are the 15 inferred relationships involving emit() (e.g. with handleSubmit() and handleBlur()) actually correct? emit() has 15 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.
  • Should Community 1 be split into smaller, more focused modules? Cohesion score 0.01 - nodes in this community are weakly interconnected.