MCPcopy Create free account

hub / github.com/adithya-s-k/GitVizz / functions

Functions903 in github.com/adithya-s-k/GitVizz

↓ 146 callersFunctioncn
(...inputs)
frontend/lib/utils.js:4
↓ 42 callersFunctionsetError
(error: string | null)
frontend/context/ResultDataContext.tsx:110
↓ 22 callersMethod_create_subgraph_generator
Create a new GraphGenerator instance from subgraph data.
gitvizz/gitvizz/graph_search_tool.py:56
↓ 20 callersFunctionhandleApiError
* Handle API errors with proper error types
frontend/utils/api.ts:501
↓ 19 callersFunctionuseApiWithAuth
(apiFn: T)
frontend/hooks/useApiWithAuth.ts:5
↓ 18 callersMethod_extract_subgraph_data
Extract subgraph data around specified nodes.
gitvizz/gitvizz/graph_search_tool.py:76
↓ 18 callersMethodgenerate
Main LLM generation method Args: messages: List of message dicts with 'role' and 'content' model: Mo
backend/utils/llm_utils.py:551
↓ 16 callersMethodsearch
(options: SearchOptions)
frontend/lib/search-utils.tsx:165
↓ 16 callersFunctionsetLoading
(loading: boolean)
frontend/context/ResultDataContext.tsx:109
↓ 14 callersMethod_node_text
Helper to get text from a tree-sitter node.
gitvizz/gitvizz/custom_ast_parser.py:46
↓ 13 callersMethodcount_tokens_approximately
Count tokens in content using LangChain's approximate token counting Args: content: Content to count (can be str
backend/utils/langchain_llm_service.py:280
↓ 13 callersFunctionextractErrorMessage
* Extract error message from API response
frontend/utils/api.ts:463
↓ 12 callersMethodbuild_llm_context
Build LLM context from one or more subgraphs. Args: subgraphs: Single GraphGenerator or list of GraphGenerators
gitvizz/gitvizz/graph_search_tool.py:472
↓ 11 callersMethodfuzzy_search
Perform fuzzy search and return a subgraph. Args: query: Search query string categories: Optional li
gitvizz/gitvizz/graph_search_tool.py:159
↓ 11 callersFunctionuseResultData
()
frontend/context/ResultDataContext.tsx:93
↓ 10 callersMethodget_model_config
Get configuration for a specific model
backend/utils/llm_utils.py:785
↓ 10 callersFunctionis_valid_access_token
Check if the access token is valid and not a placeholder.
backend/controllers/repo_controller.py:184
↓ 10 callersMethodparse
( self, files_data: List[Dict[str, Any]], all_files_content: Dict[str, str] )
gitvizz/gitvizz/graph_generator.py:796
↓ 9 callersMethod_get_line_number
Returns the 1-based start line number of a node. Returns -1 if line number cannot be determined.
gitvizz/gitvizz/custom_ast_parser.py:54
↓ 9 callersFunctioncleanup_temp_files
Clean up temporary directories.
backend/utils/repo_utils.py:446
↓ 8 callersMethoddetect_provider_from_model
Automatically detect provider from model name
backend/utils/llm_utils.py:526
↓ 8 callersFunctionexecuteOperation
* Generic function to handle all API operations (text, graph, structure) * for both GitHub repos and ZIP files
frontend/utils/api.ts:408
↓ 8 callersFunctiongetLighterColor
(color: string)
frontend/components/SigmaGraphInner.tsx:72
↓ 8 callersMethodprint_subheader
Print formatted subheader
backend/tests/llm_utils/test_advanced_llm_features.py:151
↓ 7 callersMethodcreate_dummy_user
Create a dummy user for testing
backend/tests/llm_utils/test_user_api_keys.py:53
↓ 7 callersFunctionfind_user_repository
Find repository by ID using ObjectId or repository identifier Args: repo_id: Repository ObjectId, identifier (format: owner/repo
backend/utils/repo_utils.py:26
↓ 7 callersFunctionparse_repo_url
Parse GitHub repository URL into owner, repo, and optional branch/path.
backend/utils/repo_utils.py:154
↓ 7 callersMethodprint_header
Print formatted header
backend/tests/llm_utils/test_user_api_keys.py:42
↓ 6 callersMethod_get_end_line_number
Returns the 1-based end line number of a node. Returns -1 if line number cannot be determined.
gitvizz/gitvizz/custom_ast_parser.py:70
↓ 6 callersMethodfile_exists
Check if file exists.
backend/utils/file_utils.py:107
↓ 6 callersFunctionfindFileInTree
( nodes: FileNode[], predicate: (node: FileNode) => boolean, )
frontend/components/documentation.tsx:135
↓ 6 callersMethodget_chat_model
Get a LangChain chat model instance - this is the main method you'll use Args: model: Model name (e.g., "gpt-4o-
backend/utils/langchain_llm_service.py:148
↓ 6 callersMethodget_or_create_graph
Get or create a GitVizz graph for the repository
backend/utils/gitvizz_tools.py:30
↓ 6 callersMethodprint_header
Print formatted header
backend/tests/llm_utils/test_advanced_llm_features.py:145
↓ 6 callersMethodprint_header
Print formatted header
backend/tests/llm_utils/test_llm_providers.py:39
↓ 6 callersMethodprint_subheader
Print formatted subheader
backend/tests/llm_utils/test_user_api_keys.py:48
↓ 6 callersFunctionsetOutput
(output: string | null)
frontend/context/ResultDataContext.tsx:104
↓ 6 callersFunctionsetOutputMessage
(message: string | null)
frontend/context/ResultDataContext.tsx:105
↓ 6 callersFunctionsetSourceData
(data: SourceData)
frontend/context/ResultDataContext.tsx:108
↓ 6 callersFunctionsetSourceType
(type: SourceType)
frontend/context/ResultDataContext.tsx:107
↓ 5 callersMethod_get_node_full_code
Extracts the full code snippet for a given AST node.
gitvizz/gitvizz/custom_ast_parser.py:50
↓ 5 callersMethodfind_anti_patterns
Find common anti-patterns in the code. Args: pattern_type: Type of anti-pattern ('god_class', 'long_method', 'de
gitvizz/gitvizz/graph_search_tool.py:702
↓ 5 callersMethodgenerate
(self)
gitvizz/gitvizz/graph_generator.py:1476
↓ 5 callersMethodget_api_key
Get API key for request (user's or system)
backend/utils/llm_utils.py:504
↓ 5 callersMethodget_available_models
Get available models per provider
backend/utils/llm_utils.py:778
↓ 5 callersMethodget_dependency_layers
Analyze architectural layers and dependencies. Returns: GraphGenerator subgraph showing layered architecture
gitvizz/gitvizz/graph_search_tool.py:801
↓ 5 callersMethodget_user_storage_path
Get the storage path for a specific user.
backend/utils/file_utils.py:23
↓ 5 callersFunctionresolve_branch
Resolve the branch to use for a repository. Priority: 1. If requested_branch is provided and exists, use it 2. If requested_branch i
backend/controllers/repo_controller.py:107
↓ 5 callersFunctionsmart_filter_files
Filter files to include only source code and exclude images, binaries, etc. For .ipynb files, content is extracted from cells.
backend/utils/repo_utils.py:269
↓ 5 callersMethodtest_source
Test a single source with given configuration.
gitvizz/test/graph_generator_test.py:119
↓ 4 callersFunction_decode_jwt_token
Internal function to decode JWT token and return user
backend/utils/jwt_utils.py:113
↓ 4 callersMethod_generate_content_async
Generate content using llm_service with robust error handling.
backend/documentation_generator/ai_client.py:66
↓ 4 callersMethod_generate_graph_elements
(self)
gitvizz/gitvizz/graph_generator.py:1252
↓ 4 callersMethod_run_async
Helper to run async functions in sync context
backend/documentation_generator/ai_client.py:56
↓ 4 callersMethodadd_message
Add a message to the conversation
backend/models/chat.py:41
↓ 4 callersFunctioncheck_existing_repository
Check if repository already exists for user and if it's up to date.
backend/controllers/repo_controller.py:194
↓ 4 callersMethodcombine_subgraphs
Combine multiple subgraphs into one. Args: *subgraphs: Variable number of GraphGenerator subgraphs
gitvizz/gitvizz/graph_search_tool.py:1045
↓ 4 callersMethoddecrypt_api_key
Decrypt API key for usage
backend/utils/llm_utils.py:451
↓ 4 callersMethodencrypt_api_key
Encrypt API key for secure storage
backend/utils/llm_utils.py:447
↓ 4 callersFunctionextract_zip_contents
Extract files from a ZIP archive and return file list with paths.
backend/utils/repo_utils.py:247
↓ 4 callersFunctionformatTokenCount
(tokens: number)
frontend/utils/model-config.ts:86
↓ 4 callersFunctionformat_repo_contents
Format repository contents into LLM-friendly text with directory structure.
backend/utils/repo_utils.py:435
↓ 4 callersMethodfrom_source
Create a GraphGenerator directly from a ZIP file or folder. Args: source_path: Path to ZIP file or directory
gitvizz/gitvizz/graph_generator.py:1732
↓ 4 callersMethodfuzzyScore
(query: string, target: string)
frontend/lib/search-utils.tsx:54
↓ 4 callersMethodfuzzy_search
Fuzzy search using sequence matching
backend/utils/graph_utils.py:307
↓ 4 callersFunctiongenerate_repo_identifier
Generate a unique identifier for the repository using owner/repo/branch format.
backend/utils/file_utils.py:378
↓ 4 callersFunctiongetApiBaseUrl
()
frontend/utils/client-config.ts:20
↓ 4 callersFunctiongetAvailableModels
(token: string)
frontend/utils/api.ts:926
↓ 4 callersFunctiongetDisplayName
()
frontend/app/results/page.tsx:180
↓ 4 callersFunctiongetDisplayName
()
frontend/app/results/zip/[zipname]/page.tsx:180
↓ 4 callersFunctionget_latest_commit_sha
Get the latest commit SHA for a GitHub repository branch.
backend/controllers/repo_controller.py:145
↓ 4 callersMethodget_max_context_length
Get maximum context length for a model
backend/utils/llm_utils.py:789
↓ 4 callersMethodget_repository_context
Get repository context for LLM processing by processing the locally stored ZIP file Args: repository: Repository
backend/controllers/chat_controller.py:87
↓ 4 callersFunctionparseGitHubUrl
* Helper function to extract owner and repo from GitHub URL
frontend/utils/api.ts:103
↓ 4 callersMethodparse_file_content
Parses the given file content using tree-sitter. Args: relative_file_path: The path to the file, relative to the project
gitvizz/gitvizz/custom_ast_parser.py:93
↓ 4 callersMethodsearch_by_code_content
Search nodes by code content
backend/utils/graph_utils.py:249
↓ 4 callersMethodsearch_by_name
Search nodes by name (exact and partial matches) - optimized with index
backend/utils/graph_utils.py:180
↓ 4 callersFunctionsetCurrentRepoId
(repo_id: string | null)
frontend/context/ResultDataContext.tsx:118
↓ 4 callersMethodstopStreaming
* Stop streaming and close the connection
frontend/lib/sse-client.ts:83
↓ 4 callersMethodsupports_function_calling
Check if model supports function calling
backend/utils/llm_utils.py:799
↓ 4 callersMethodtest_advanced_features
Test advanced features like NetworkX, I/O, visualization.
gitvizz/test/graph_generator_test.py:169
↓ 4 callersMethodto_networkx
Convert the graph to a NetworkX DiGraph.
gitvizz/gitvizz/graph_generator.py:1490
↓ 4 callersFunctionuseChatSidebar
( repositoryIdentifier: string, userKeyPreferences: Record<string, boolean>, options?: { autoLoad?: bool
frontend/hooks/use-chat-sidebar.ts:62
↓ 3 callersFunctionHeader
()
frontend/components/header.tsx:20
↓ 3 callersMethod_calculate_similarity
Calculate similarity between query and text using SequenceMatcher.
gitvizz/gitvizz/graph_search_tool.py:127
↓ 3 callersFunction_get_node_end_line
Safely get end_lineno for an AST node.
gitvizz/gitvizz/graph_generator.py:53
↓ 3 callersFunction_process_input
( repo_url: Optional[str], branch: Optional[str], zip_file: Optional[UploadFile], access_token
backend/utils/repo_utils.py:166
↓ 3 callersFunctioncreate_sample_codebase
Create a realistic codebase for testing.
gitvizz/test/graph_search_tool_test.py:15
↓ 3 callersMethoddownload_test_source
Download a test source ZIP file.
gitvizz/test/graph_generator_test.py:106
↓ 3 callersMethodfilter_by_category
Filter nodes by category and return subgraph. Args: categories: List of categories to include depth:
gitvizz/gitvizz/graph_search_tool.py:230
↓ 3 callersFunctionfindFunctionUsages
(code: string, functionName: string)
frontend/utils/code-analyzer.ts:12
↓ 3 callersMethodfindMatchRanges
(query: string, target: string)
frontend/lib/search-utils.tsx:85
↓ 3 callersMethodfind_circular_dependencies
Find circular dependencies in the code. Returns: GraphGenerator subgraph containing nodes involved in cycles
gitvizz/gitvizz/graph_search_tool.py:678
↓ 3 callersMethodfind_interface_violations
Find potential interface/abstraction violations. Returns: GraphGenerator subgraph containing violation instances
gitvizz/gitvizz/graph_search_tool.py:754
↓ 3 callersMethodfind_test_coverage_gaps
Find code that appears to lack test coverage. Returns: GraphGenerator subgraph containing untested code
gitvizz/gitvizz/graph_search_tool.py:836
↓ 3 callersMethodfind_unused_code
Find potentially unused code (nodes with no incoming connections). Args: min_depth: Minimum depth from entry poi
gitvizz/gitvizz/graph_search_tool.py:632
↓ 3 callersFunctiongetAllDescendantFilePaths
(node: FileNode)
frontend/components/structure-tab.tsx:166
↓ 3 callersFunctiongetDetailedAvailableModels
( token: string, provider?: string, )
frontend/utils/api.ts:1029
↓ 3 callersFunctiongetRepoName
()
frontend/app/results/[owner]/[repo]/[branch]/page.tsx:216
↓ 3 callersFunctiongetSelectedCount
()
frontend/components/structure-tab.tsx:466
next →1–100 of 903, ranked by callers