MCPcopy Create free account

hub / github.com/codag-megalith/codag-visualizer / functions

Functions1,328 in github.com/codag-megalith/codag-visualizer

↓ 1 callersFunctionbuildResolutionPicker
* Build resolution picker HTML for a given graph bounds. * Disables options that exceed browser canvas limits.
frontend/src/webview-client/export.ts:910
↓ 1 callersFunctionbuild_metadata_only_prompt
Build prompt for metadata-only analysis. Args: files: List of FileStructureContext dicts with: - filePath: str -
backend/prompts.py:395
↓ 1 callersFunctionbuild_user_prompt
Build the dynamic user prompt with metadata and code. Args: code: The code to analyze metadata: Source location metadata for node
backend/prompts.py:260
↓ 1 callersFunctioncacheBatchGraph
( files: { path: string; content: string }[], graph: WorkflowGraph
frontend/src/analysis/workspace.ts:704
↓ 1 callersFunctioncacheCallGraphsForFiles
* Extract and cache call graphs for all files in a content map.
frontend/src/analysis/selected-files.ts:32
↓ 1 callersMethodcalculateCost
* Calculate estimated cost for selected files
frontend/src/webview-client/file-picker.ts:181
↓ 1 callersFunctioncalculateTextScale
* Calculate text scale factor for large graphs * Scales down text when there are many nodes to keep export readable
frontend/src/webview-client/export.ts:219
↓ 1 callersMethodcellPolygon
(t)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callersFunctioncf
(t)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callersFunctionch
(t,n)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callersFunctionclearChangedFunctions
(filePath: string)
frontend/src/analysis/state.ts:221
↓ 1 callersFunctionclearNodesPending
(nodeIds: string[])
frontend/src/webview-client/nodes.ts:347
↓ 1 callersFunctionclearPendingChange
(filePath: string)
frontend/src/analysis/state.ts:177
↓ 1 callersMethodcloseFilePicker
* Close the file picker immediately (no animation)
frontend/src/webview.ts:353
↓ 1 callersMethodcollectSelectedPathsAndTokens
* Collect initially selected paths and token counts from tree
frontend/src/webview-client/file-picker.ts:164
↓ 1 callersFunctioncolorFromString
(str: string, saturation: number = 70, lightness: number = 60)
frontend/src/webview-client/export.ts:394
↓ 1 callersFunctioncomputeGraphDiff
(oldGraph: WorkflowGraph, newGraph: WorkflowGraph)
frontend/src/webview-client/graph-diff.ts:4
↓ 1 callersMethodcomputeWorkflows
* Compute workflows using LLM-assigned workflow names per file, * with hub detection for end-to-end shared service inclusion. * Falls back t
frontend/src/cache.ts:940
↓ 1 callersMethodcomputeWorkflowsByConnectivity
* Fallback: compute workflows from graph connectivity (original algorithm). * Used when no LLM workflow assignments are stored in cache.
frontend/src/cache.ts:1318
↓ 1 callersMethodcondenseStructure
* Condense raw repo structure into workflow-relevant summary. * Uses LLM to filter out irrelevant files and identify workflow entry points.
frontend/src/api.ts:143
↓ 1 callersMethodcondense_repo_structure
Condense raw repo structure into workflow-relevant summary. Takes tree-sitter extracted structure and returns a condensed version con
backend/gemini_client.py:106
↓ 1 callersMethodcountFilesInDirectory
* Count total files in directory
frontend/src/webview-client/file-picker.ts:391
↓ 1 callersMethodcountSelectedInDirectory
* Count selected files in directory
frontend/src/webview-client/file-picker.ts:381
↓ 1 callersFunctioncp
(t,n)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callersFunctioncreateEmptyRoot
()
frontend/src/file-picker.ts:174
↓ 1 callersFunctioncreateGraphFromCallGraph
( callGraph: ExtractedCallGraph, relativePath: string )
frontend/src/local-graph-updater.ts:315
↓ 1 callersFunctioncreateNodeElement
* Helper to create a single node element with all its structure. * Extracted from renderNodes for reuse in incremental updates.
frontend/src/webview-client/nodes.ts:502
↓ 1 callersFunctioncreateStructuralHash
* Create a structural hash for change detection. * Only includes function names and call relationships, not line numbers.
frontend/src/call-graph-extractor.ts:39
↓ 1 callersFunctioncreateTitleEdges
* Create edges from title node to entry nodes
frontend/src/webview-client/workflow-detection.ts:90
↓ 1 callersFunctioncreateTitleNode
* Create a synthetic title node for a workflow
frontend/src/webview-client/workflow-detection.ts:79
↓ 1 callersFunctioncreateWorkflowPattern
(defs: any, groupId: string, color: string)
frontend/src/webview-client/setup.ts:132
↓ 1 callersFunctionct
(t,n,e=o)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callersFunctiondeletePendingChange
(filePath: string)
frontend/src/analysis/state.ts:173
↓ 1 callersFunctiondeserializeCallGraph
(data: SerializedCallGraph)
frontend/src/analysis/state.ts:84
↓ 1 callersMethoddetectInWorkspace
( onProgress?: (scanned: number, total: number, found: number) => void )
frontend/src/analyzer.ts:116
↓ 1 callersMethoddetect_workflow
Detect if code contains LLM workflow patterns
backend/analyzer.py:230
↓ 1 callersFunctiondetermineExported
(funcName: string, lang: SupportedLanguage, exportedNames: Set<string>)
frontend/src/tree-sitter/extractors.ts:296
↓ 1 callersFunctiondfs
(filePath: string, component: string[])
frontend/src/file-preparation.ts:175
↓ 1 callersFunctiondi
(t,n)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callersFunctiondiffCallGraphs
( oldGraph: ExtractedCallGraph, newGraph: ExtractedCallGraph )
frontend/src/call-graph-extractor.ts:114
↓ 1 callersMethoddispose
Clean up all resources
frontend/src/tree-sitter/parser-manager.ts:223
↓ 1 callersFunctiondistToCentroid
(x: number, y: number, cw: number, ch: number)
frontend/src/webview-client/layout.ts:387
↓ 1 callersFunctionedgeChanged
(oldEdge: WorkflowEdge, newEdge: WorkflowEdge)
frontend/src/webview-client/graph-diff.ts:82
↓ 1 callersMethodenforceMaxVisible
()
frontend/src/webview-client/notifications.ts:227
↓ 1 callersFunctionestimateLabelWidth
(label: string)
frontend/src/webview-client/elk-layout.ts:76
↓ 1 callersMethodexpandToImporters
* Expand detection to files that import base LLM files (cross-file analysis) * This catches files that call LLM wrappers indirectly (e.g., main.p
frontend/src/analyzer.ts:31
↓ 1 callersFunctionexportAllAsJPEG
(scale: number = 2)
frontend/src/webview-client/export.ts:841
↓ 1 callersFunctionexportAllAsPNG
(scale: number = 2)
frontend/src/webview-client/export.ts:819
↓ 1 callersFunctionexportWorkflowAsJPEG
(groupId: string, groupName: string, scale: number = 2)
frontend/src/webview-client/export.ts:886
↓ 1 callersFunctionexportWorkflowAsPNG
(groupId: string, groupName: string, scale: number = 2)
frontend/src/webview-client/export.ts:863
↓ 1 callersFunctionextractCallGraphFromTree
( tree: Tree, lang: SupportedLanguage, filePath: string, )
frontend/src/tree-sitter/extractors.ts:499
↓ 1 callersFunctionextractFileAnalysisFromTree
( tree: Tree, lang: SupportedLanguage, filePath: string, code: string, isLLMIdentifier: (n
frontend/src/tree-sitter/extractors.ts:892
↓ 1 callersFunctionextractFileStructureFromTree
( tree: Tree, lang: SupportedLanguage, filePath: string, )
frontend/src/tree-sitter/extractors.ts:606
↓ 1 callersFunctionextractHyphenatedLines
* Extract text with explicit hyphens from a rendered element. * Detects where the browser hyphenated and inserts actual hyphen characters. * Returns
frontend/src/webview-client/export.ts:101
↓ 1 callersFunctionextractKeywords
(text: string)
packages/mcp-server/src/tools.ts:58
↓ 1 callersFunctionfadeInNodes
(nodeIds: string[])
frontend/src/webview-client/nodes.ts:244
↓ 1 callersFunctionff
(n)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callersMethodfilterTree
* Filter tree based on search query
frontend/src/webview-client/file-picker.ts:592
↓ 1 callersFunctionfindConnectedComponents
* Find connected components within a set of node IDs * Returns array of arrays, each inner array is a connected component
frontend/src/webview-client/workflow-detection.ts:9
↓ 1 callersFunctionfindEntryNodes
* Find entry nodes for a component (nodes with no incoming edges from within the component)
frontend/src/webview-client/workflow-detection.ts:58
↓ 1 callersMethodfindNode
* Find node by path
frontend/src/webview-client/file-picker.ts:409
↓ 1 callersMethodfindPrimaryFile
* Find primary file for a workflow (file with most nodes)
frontend/src/cache.ts:688
↓ 1 callersMethodfindRelatedFiles
* Find files related through imports/exports
frontend/src/metadata-builder.ts:55
↓ 1 callersFunctionfind_connected_components
Find connected components in a subgraph (undirected).
backend/mermaid_parser.py:12
↓ 1 callersFunctionfix_file_path
(path: str, file_paths: list)
backend/main.py:90
↓ 1 callersMethodflush
* Force immediate save of any pending changes. * Call this on extension deactivation to ensure cache is persisted.
frontend/src/cache.ts:231
↓ 1 callersFunctionfn
(t)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callersFunctionformatStructureForLLM
(structure: RawRepoStructure)
frontend/src/repo-structure.ts:473
↓ 1 callersFunctiongenerateMinimapEdgePath
* Generate minimap-scaled SVG path from ELK edge route
frontend/src/webview-client/minimap.ts:15
↓ 1 callersMethodgenerate_metadata
Generate metadata using a simple prompt (no workflow analysis). Used for incremental updates where we just need labels/descriptions.
backend/gemini_client.py:152
↓ 1 callersMethodgetBatchStats
* Get current batch stats for completion message.
frontend/src/webview.ts:497
↓ 1 callersMethodgetCachedGraphSync
* Synchronously get the last known merged graph (for instant feedback). * Returns null if no graph has been computed yet. * Use this for imm
frontend/src/cache.ts:931
↓ 1 callersFunctiongetComputedStyles
()
frontend/src/webview-client/export.ts:25
↓ 1 callersFunctiongetCorners
(w: number, h: number)
frontend/src/webview-client/layout.ts:336
↓ 1 callersFunctiongetElkEdgePath
(edge: any, workflowGroups: WorkflowGroup[])
frontend/src/webview-client/edges.ts:101
↓ 1 callersMethodgetFile
* Get cached file data
frontend/src/cache.ts:360
↓ 1 callersFunctiongetFileContext
(index: GraphIndex | null, files: string[])
packages/mcp-server/src/tools.ts:483
↓ 1 callersFunctiongetFileIcon
(filename: string, isDirectory: boolean, isCollapsed: boolean)
frontend/src/webview-client/file-picker.ts:89
↓ 1 callersFunctiongetHttpConnections
()
frontend/src/analysis/state.ts:17
↓ 1 callersMethodgetIcon
(type: NotificationOptions['type'])
frontend/src/webview-client/notifications.ts:303
↓ 1 callersMethodgetLanguage
Get the Language object for running queries
frontend/src/tree-sitter/parser-manager.ts:176
↓ 1 callersFunctiongetMetadataBatcher
(options?: MetadataBatcherOptions)
frontend/src/metadata-batcher.ts:207
↓ 1 callersFunctiongetNode
(index: GraphIndex | null, nodeId: string)
packages/mcp-server/src/tools.ts:427
↓ 1 callersMethodgetNonce
()
frontend/src/webview.ts:658
↓ 1 callersFunctiongetQueriesForLang
(lang: SupportedLanguage)
frontend/src/tree-sitter/extractors.ts:103
↓ 1 callersFunctiongetSavedSelectedPaths
(context: vscode.ExtensionContext)
frontend/src/file-picker.ts:83
↓ 1 callersFunctiongetTaskContext
(index: GraphIndex | null, taskDescription: string)
packages/mcp-server/src/tools.ts:70
↓ 1 callersFunctiongetTutorial
()
frontend/src/webview-client/tutorial.ts:222
↓ 1 callersFunctiongetWorkflow
(index: GraphIndex | null, workflowName: string)
packages/mcp-server/src/tools.ts:345
↓ 1 callersFunctiongetWorkflowNodeIds
(workflowGroups: any[])
frontend/src/webview-client/helpers.ts:188
↓ 1 callersFunctiongetWorkspaceName
* Get the current workspace/codebase name from state
frontend/src/webview-client/export.ts:698
↓ 1 callersFunctiongg
()
frontend/media/webview/d3.v7.min.js:2
↓ 1 callersFunctiongraphSummaryResource
(index: GraphIndex | null)
packages/mcp-server/src/tools.ts:286
↓ 1 callersFunctiongt
(t)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callersFunctionh_
(t,n)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callersFunctionhasDiff
(diff: GraphDiff & { workflows?: { added: any[]; removed: any[]; updated: any[] } })
frontend/src/webview-client/graph-diff.ts:92
↓ 1 callersFunctionhf
(t,n)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callersFunctionhp
(t)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callersFunctionhs
(t,n)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callersFunctionht
(t,e=n)
frontend/media/webview/d3.v7.min.js:2
← previousnext →601–700 of 1,328, ranked by callers