Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codag-megalith/codag-visualizer
/ functions
Functions
1,328 in github.com/codag-megalith/codag-visualizer
⨍
Functions
1,328
◇
Types & classes
171
↳
Endpoints
4
↓ 1 callers
Function
buildResolutionPicker
* Build resolution picker HTML for a given graph bounds. * Disables options that exceed browser canvas limits.
frontend/src/webview-client/export.ts:910
↓ 1 callers
Function
build_metadata_only_prompt
Build prompt for metadata-only analysis. Args: files: List of FileStructureContext dicts with: - filePath: str -
backend/prompts.py:395
↓ 1 callers
Function
build_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 callers
Function
cacheBatchGraph
( files: { path: string; content: string }[], graph: WorkflowGraph
frontend/src/analysis/workspace.ts:704
↓ 1 callers
Function
cacheCallGraphsForFiles
* Extract and cache call graphs for all files in a content map.
frontend/src/analysis/selected-files.ts:32
↓ 1 callers
Method
calculateCost
* Calculate estimated cost for selected files
frontend/src/webview-client/file-picker.ts:181
↓ 1 callers
Function
calculateTextScale
* 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 callers
Method
cellPolygon
(t)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callers
Function
cf
(t)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callers
Function
ch
(t,n)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callers
Function
clearChangedFunctions
(filePath: string)
frontend/src/analysis/state.ts:221
↓ 1 callers
Function
clearNodesPending
(nodeIds: string[])
frontend/src/webview-client/nodes.ts:347
↓ 1 callers
Function
clearPendingChange
(filePath: string)
frontend/src/analysis/state.ts:177
↓ 1 callers
Method
closeFilePicker
* Close the file picker immediately (no animation)
frontend/src/webview.ts:353
↓ 1 callers
Method
collectSelectedPathsAndTokens
* Collect initially selected paths and token counts from tree
frontend/src/webview-client/file-picker.ts:164
↓ 1 callers
Function
colorFromString
(str: string, saturation: number = 70, lightness: number = 60)
frontend/src/webview-client/export.ts:394
↓ 1 callers
Function
computeGraphDiff
(oldGraph: WorkflowGraph, newGraph: WorkflowGraph)
frontend/src/webview-client/graph-diff.ts:4
↓ 1 callers
Method
computeWorkflows
* 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 callers
Method
computeWorkflowsByConnectivity
* Fallback: compute workflows from graph connectivity (original algorithm). * Used when no LLM workflow assignments are stored in cache.
frontend/src/cache.ts:1318
↓ 1 callers
Method
condenseStructure
* 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 callers
Method
condense_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 callers
Method
countFilesInDirectory
* Count total files in directory
frontend/src/webview-client/file-picker.ts:391
↓ 1 callers
Method
countSelectedInDirectory
* Count selected files in directory
frontend/src/webview-client/file-picker.ts:381
↓ 1 callers
Function
cp
(t,n)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callers
Function
createEmptyRoot
()
frontend/src/file-picker.ts:174
↓ 1 callers
Function
createGraphFromCallGraph
( callGraph: ExtractedCallGraph, relativePath: string )
frontend/src/local-graph-updater.ts:315
↓ 1 callers
Function
createNodeElement
* 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 callers
Function
createStructuralHash
* 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 callers
Function
createTitleEdges
* Create edges from title node to entry nodes
frontend/src/webview-client/workflow-detection.ts:90
↓ 1 callers
Function
createTitleNode
* Create a synthetic title node for a workflow
frontend/src/webview-client/workflow-detection.ts:79
↓ 1 callers
Function
createWorkflowPattern
(defs: any, groupId: string, color: string)
frontend/src/webview-client/setup.ts:132
↓ 1 callers
Function
ct
(t,n,e=o)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callers
Function
deletePendingChange
(filePath: string)
frontend/src/analysis/state.ts:173
↓ 1 callers
Function
deserializeCallGraph
(data: SerializedCallGraph)
frontend/src/analysis/state.ts:84
↓ 1 callers
Method
detectInWorkspace
( onProgress?: (scanned: number, total: number, found: number) => void )
frontend/src/analyzer.ts:116
↓ 1 callers
Method
detect_workflow
Detect if code contains LLM workflow patterns
backend/analyzer.py:230
↓ 1 callers
Function
determineExported
(funcName: string, lang: SupportedLanguage, exportedNames: Set<string>)
frontend/src/tree-sitter/extractors.ts:296
↓ 1 callers
Function
dfs
(filePath: string, component: string[])
frontend/src/file-preparation.ts:175
↓ 1 callers
Function
di
(t,n)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callers
Function
diffCallGraphs
( oldGraph: ExtractedCallGraph, newGraph: ExtractedCallGraph )
frontend/src/call-graph-extractor.ts:114
↓ 1 callers
Method
dispose
Clean up all resources
frontend/src/tree-sitter/parser-manager.ts:223
↓ 1 callers
Function
distToCentroid
(x: number, y: number, cw: number, ch: number)
frontend/src/webview-client/layout.ts:387
↓ 1 callers
Function
edgeChanged
(oldEdge: WorkflowEdge, newEdge: WorkflowEdge)
frontend/src/webview-client/graph-diff.ts:82
↓ 1 callers
Method
enforceMaxVisible
()
frontend/src/webview-client/notifications.ts:227
↓ 1 callers
Function
estimateLabelWidth
(label: string)
frontend/src/webview-client/elk-layout.ts:76
↓ 1 callers
Method
expandToImporters
* 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 callers
Function
exportAllAsJPEG
(scale: number = 2)
frontend/src/webview-client/export.ts:841
↓ 1 callers
Function
exportAllAsPNG
(scale: number = 2)
frontend/src/webview-client/export.ts:819
↓ 1 callers
Function
exportWorkflowAsJPEG
(groupId: string, groupName: string, scale: number = 2)
frontend/src/webview-client/export.ts:886
↓ 1 callers
Function
exportWorkflowAsPNG
(groupId: string, groupName: string, scale: number = 2)
frontend/src/webview-client/export.ts:863
↓ 1 callers
Function
extractCallGraphFromTree
( tree: Tree, lang: SupportedLanguage, filePath: string, )
frontend/src/tree-sitter/extractors.ts:499
↓ 1 callers
Function
extractFileAnalysisFromTree
( tree: Tree, lang: SupportedLanguage, filePath: string, code: string, isLLMIdentifier: (n
frontend/src/tree-sitter/extractors.ts:892
↓ 1 callers
Function
extractFileStructureFromTree
( tree: Tree, lang: SupportedLanguage, filePath: string, )
frontend/src/tree-sitter/extractors.ts:606
↓ 1 callers
Function
extractHyphenatedLines
* 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 callers
Function
extractKeywords
(text: string)
packages/mcp-server/src/tools.ts:58
↓ 1 callers
Function
fadeInNodes
(nodeIds: string[])
frontend/src/webview-client/nodes.ts:244
↓ 1 callers
Function
ff
(n)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callers
Method
filterTree
* Filter tree based on search query
frontend/src/webview-client/file-picker.ts:592
↓ 1 callers
Function
findConnectedComponents
* 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 callers
Function
findEntryNodes
* Find entry nodes for a component (nodes with no incoming edges from within the component)
frontend/src/webview-client/workflow-detection.ts:58
↓ 1 callers
Method
findNode
* Find node by path
frontend/src/webview-client/file-picker.ts:409
↓ 1 callers
Method
findPrimaryFile
* Find primary file for a workflow (file with most nodes)
frontend/src/cache.ts:688
↓ 1 callers
Method
findRelatedFiles
* Find files related through imports/exports
frontend/src/metadata-builder.ts:55
↓ 1 callers
Function
find_connected_components
Find connected components in a subgraph (undirected).
backend/mermaid_parser.py:12
↓ 1 callers
Function
fix_file_path
(path: str, file_paths: list)
backend/main.py:90
↓ 1 callers
Method
flush
* Force immediate save of any pending changes. * Call this on extension deactivation to ensure cache is persisted.
frontend/src/cache.ts:231
↓ 1 callers
Function
fn
(t)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callers
Function
formatStructureForLLM
(structure: RawRepoStructure)
frontend/src/repo-structure.ts:473
↓ 1 callers
Function
generateMinimapEdgePath
* Generate minimap-scaled SVG path from ELK edge route
frontend/src/webview-client/minimap.ts:15
↓ 1 callers
Method
generate_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 callers
Method
getBatchStats
* Get current batch stats for completion message.
frontend/src/webview.ts:497
↓ 1 callers
Method
getCachedGraphSync
* 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 callers
Function
getComputedStyles
()
frontend/src/webview-client/export.ts:25
↓ 1 callers
Function
getCorners
(w: number, h: number)
frontend/src/webview-client/layout.ts:336
↓ 1 callers
Function
getElkEdgePath
(edge: any, workflowGroups: WorkflowGroup[])
frontend/src/webview-client/edges.ts:101
↓ 1 callers
Method
getFile
* Get cached file data
frontend/src/cache.ts:360
↓ 1 callers
Function
getFileContext
(index: GraphIndex | null, files: string[])
packages/mcp-server/src/tools.ts:483
↓ 1 callers
Function
getFileIcon
(filename: string, isDirectory: boolean, isCollapsed: boolean)
frontend/src/webview-client/file-picker.ts:89
↓ 1 callers
Function
getHttpConnections
()
frontend/src/analysis/state.ts:17
↓ 1 callers
Method
getIcon
(type: NotificationOptions['type'])
frontend/src/webview-client/notifications.ts:303
↓ 1 callers
Method
getLanguage
Get the Language object for running queries
frontend/src/tree-sitter/parser-manager.ts:176
↓ 1 callers
Function
getMetadataBatcher
(options?: MetadataBatcherOptions)
frontend/src/metadata-batcher.ts:207
↓ 1 callers
Function
getNode
(index: GraphIndex | null, nodeId: string)
packages/mcp-server/src/tools.ts:427
↓ 1 callers
Method
getNonce
()
frontend/src/webview.ts:658
↓ 1 callers
Function
getQueriesForLang
(lang: SupportedLanguage)
frontend/src/tree-sitter/extractors.ts:103
↓ 1 callers
Function
getSavedSelectedPaths
(context: vscode.ExtensionContext)
frontend/src/file-picker.ts:83
↓ 1 callers
Function
getTaskContext
(index: GraphIndex | null, taskDescription: string)
packages/mcp-server/src/tools.ts:70
↓ 1 callers
Function
getTutorial
()
frontend/src/webview-client/tutorial.ts:222
↓ 1 callers
Function
getWorkflow
(index: GraphIndex | null, workflowName: string)
packages/mcp-server/src/tools.ts:345
↓ 1 callers
Function
getWorkflowNodeIds
(workflowGroups: any[])
frontend/src/webview-client/helpers.ts:188
↓ 1 callers
Function
getWorkspaceName
* Get the current workspace/codebase name from state
frontend/src/webview-client/export.ts:698
↓ 1 callers
Function
gg
()
frontend/media/webview/d3.v7.min.js:2
↓ 1 callers
Function
graphSummaryResource
(index: GraphIndex | null)
packages/mcp-server/src/tools.ts:286
↓ 1 callers
Function
gt
(t)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callers
Function
h_
(t,n)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callers
Function
hasDiff
(diff: GraphDiff & { workflows?: { added: any[]; removed: any[]; updated: any[] } })
frontend/src/webview-client/graph-diff.ts:92
↓ 1 callers
Function
hf
(t,n)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callers
Function
hp
(t)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callers
Function
hs
(t,n)
frontend/media/webview/d3.v7.min.js:2
↓ 1 callers
Function
ht
(t,e=n)
frontend/media/webview/d3.v7.min.js:2
← previous
next →
601–700 of 1,328, ranked by callers