MCPcopy Create free account

hub / github.com/Graphify-Labs/graphify / functions

Functions15,176 in github.com/Graphify-Labs/graphify

↓ 1,778 callersMethodget
(path)
tests/fixtures/sample.rb:9
↓ 1,124 callersFunctionextract
Extract AST nodes and edges from a list of code files. Two-pass process: 1. Per-file structural extraction (classes, functions, imports)
graphify/extract.py:12934
↓ 1,009 callersMethodget
(self, url: str, **kwargs)
worked/httpx/raw/client.py:92
↓ 600 callersMethoditems
(self)
worked/httpx/raw/models.py:35
↓ 371 callersMethodresolve
(self, nid: str, name: str, kind: str, taken)
graphify/ids.py:149
↓ 368 callersFunction_make_id
(*parts: str)
graphify/extractors/base.py:143
↓ 366 callersMethodjoin
(self)
tests/test_language_override_lifecycle.py:134
↓ 322 callersMethodadd_node
(&mut self, id: String)
tests/fixtures/sample.rs:20
↓ 310 callersFunction_read_text
(node, source: bytes)
graphify/extractors/base.py:147
↓ 277 callersFunctionbuild_from_json
Build a NetworkX graph from an extraction dict. directed=True produces a DiGraph that preserves edge direction (source→target). directed=Fals
graphify/build.py:1800
↓ 271 callersMethodadd_edge
(&mut self, src: String, tgt: String)
tests/fixtures/sample.rs:24
↓ 243 callersFunction_rebuild_code
Re-run AST extraction + build + optional cluster + report for code files. No LLM needed. Thin wrapper: the rebuild freezes the heap once extracti
graphify/watch.py:2832
↓ 189 callersMethodrun
()
tests/fixtures/java_interface_dispatch/Worker.java:2
↓ 136 callersFunctiondetect
(root: Path, *, follow_symlinks: bool | None = None, google_workspace: bool | None = None, extra_excludes: lis
graphify/detect.py:2224
↓ 118 callersFunctiondeduplicate_entities
Deduplicate near-identical entities in a knowledge graph. Args: nodes: list of node dicts with at minimum {"id": str, "label": str}
graphify/dedup.py:1134
↓ 116 callersMethodupdate
(self, v: bytes)
graphify/_minhash.py:46
↓ 108 callersFunction_edge_labels
(result: dict, relation: str, context: str | None = None)
tests/test_languages.py:77
↓ 103 callersFunction_labels
(r)
tests/test_languages.py:36
↓ 100 callersFunctionbuild_merge
Load existing graph.json and return it merged with ``new_chunks``. Does NOT write to disk — the caller persists the result, e.g. via ``export
graphify/build.py:3069
↓ 97 callersFunction_write
(path: Path, text: str)
tests/test_js_import_resolution.py:14
↓ 96 callersFunctionextract_js
Extract classes, functions, arrow functions, and imports from a .js/.ts/.tsx/.mts/.cts file.
graphify/extract.py:2558
↓ 95 callersFunction_file_stem
Stem used as the node-ID prefix for a file and its symbols. The full path (extension dropped) is preserved as path segments; ``make_id`` late
graphify/ids.py:231
↓ 87 callersFunctionto_json
(G: nx.Graph, communities: dict[int, list[str]], output_path: str, *, force: bool = False, built_at_commit: st
graphify/export.py:386
↓ 85 callersFunctioncluster
Run Leiden community detection. Returns {community_id: [node_ids]}. Community IDs are stable across runs: 0 = largest community after splitting.
graphify/cluster.py:531
↓ 81 callersMethodstart
(self)
tests/test_watch.py:1893
↓ 75 callersFunction_extract_for
(paths: list[Path], root: Path)
tests/test_js_import_resolution.py:20
↓ 75 callersFunctioningest_scip_json
Convert a SCIP-style JSON document into Graphify nodes and edges. Parameter ``doc`` is ``object`` (not ``dict[str, Any]``) because SCIP docum
graphify/scip_ingest.py:42
↓ 74 callersFunctionbuild
Merge multiple extraction results into one graph. directed=True produces a DiGraph that preserves edge direction (source→target). directed=Fa
graphify/build.py:2609
↓ 72 callersFunctionextract_python
Extract classes, functions, and imports from a .py file via tree-sitter AST.
graphify/extract.py:2466
↓ 70 callersFunctioninstall
Install graphify's post-commit, post-checkout, post-merge, and post-rewrite hooks in the nearest git repo.
graphify/hooks.py:1116
↓ 66 callersFunction_write
(tmp_path: Path, name: str, body: str)
tests/test_ruby_resolution.py:26
↓ 64 callersFunction_theme
Write a synthetic theme (always with layout/theme.liquid) and return its root.
tests/test_liquid_extractor.py:27
↓ 59 callersFunctionextract_bash
Extract functions, source imports, and cross-function calls from a .sh file.
graphify/extractors/bash.py:262
↓ 59 callersFunctionextract_sql
Extract tables, views, functions, and relationships from .sql files via tree-sitter.
graphify/extractors/sql.py:550
↓ 59 callersFunctionload_cached
Return cached extraction for this file if hash matches, else None. Cache key: SHA256 of file contents. Semantic entries use {hash[:2]}/{hash}
graphify/cache.py:1487
↓ 58 callersFunction_write
(path: Path, text: str)
tests/test_csharp_type_resolution.py:8
↓ 56 callersFunction_run
(args: list[str], cwd: Path, env: dict[str, str] | None = None)
tests/test_cli_export.py:33
↓ 56 callersFunctionsave_semantic_cache
Save semantic extraction results to cache, keyed by source_file. Groups nodes and edges by source_file, then saves one cache entry per file u
graphify/cache.py:2106
↓ 55 callersFunctionto_wiki
Generate a Wikipedia-style wiki from the graph. Writes: - index.md — agent entry point, catalog of all articles - <Communi
graphify/wiki.py:287
↓ 54 callersFunction_has_edge
(result: dict, source: str, target: str, relation: str = "imports_from")
tests/test_js_import_resolution.py:30
↓ 51 callersFunction_make_git_repo
(tmp_path: Path)
tests/test_hooks.py:16
↓ 48 callersFunction_calls
(tmp_path, files: dict[str, str])
tests/test_csharp_member_calls.py:18
↓ 47 callersFunctionclassify_file
(path: Path)
graphify/detect.py:553
↓ 46 callersMethodfind
(self, x: str)
graphify/dedup.py:258
↓ 46 callersFunctionsave_cached
Save extraction result for this file. ``salt`` must match what the corresponding :func:`load_cached` passes (see there); it namespaces the ke
graphify/cache.py:1790
↓ 45 callersFunction_query_graph_text
( G: nx.Graph, question: str, *, mode: str = "bfs", depth: int = 3, token_budget: int
graphify/serve.py:2016
↓ 44 callersFunction_read_source_bytes
Read a source file as the UTF-8 bytes tree-sitter parses. tree-sitter treats its input as UTF-8. Raw bytes in another encoding were parsed as
graphify/extractors/base.py:159
↓ 44 callersFunction_write
(path: Path, body: str)
tests/test_import_extension_resolution.py:21
↓ 44 callersFunctionsave_manifest
Save current file mtimes + content hashes for change detection. kind="ast" — written by `graphify update` (AST-only rebuild). Stamps
graphify/detect.py:2972
↓ 44 callersMethodwrite
(self, name, text)
tests/test_hooks_rewrite.py:42
↓ 43 callersFunction_read_source_text
``_read_source_bytes`` as text, for extractors that work on ``str``. Matches ``path.read_text(encoding="utf-8")`` exactly for every valid UTF-8
graphify/extractors/base.py:212
↓ 43 callersFunctioneffective_suffix
The suffix graphify should treat ``path`` as having. Returns the override target when the file's extension is remapped, else the real suffix
graphify/rcfile.py:276
↓ 43 callersFunctiongenerate
( G: nx.Graph, communities: dict[int, list[str]], cohesion_scores: dict[int, float], community
graphify/report.py:144
↓ 42 callersFunction_resolve_js_module_path
Resolve a JS/TS module path or specifier to a local source file. With a Path argument this preserves the path-based helper API used by import
graphify/extractors/resolution.py:917
↓ 42 callersFunctionextract_cpp
Extract functions, classes, and includes from a .cpp/.cc/.cxx/.hpp file. C++/CLI sources are normalized to standard C++ first (#2876); see :f
graphify/extract.py:4223
↓ 42 callersFunctionfile_hash
SHA256 of file contents + path relative to root. Uses a stat-based fastpath (size + mtime_ns) to skip full reads when the file hasn't changed
graphify/cache.py:604
↓ 41 callersFunctionnormalize_id
r"""Normalize a single ID string to its canonical form. Guarantees, all enforced by tests: - Idempotent: ``normalize_id(normalize_id(s)) ==
graphify/ids.py:65
↓ 40 callersFunction_invoke
(kind, payload, tmp_path, monkeypatch, *, graph=True, out_name="graphify-out")
tests/test_hook_guard.py:23
↓ 39 callersFunction_make_graph
Build a minimal graph.json + analysis/labels files in tmp_path/graphify-out/.
tests/test_cli_export.py:43
↓ 38 callersFunction_calls
(tmp_path, files: dict[str, str])
tests/test_ts_receiver_member_calls.py:22
↓ 37 callersFunction_file_node_id
File-level node ID matching the skill.md spec: ``{parent_dir}_{stem}`` — one parent directory level, no extension. ``rel_path`` MUST be relative t
graphify/extract.py:276
↓ 36 callersFunction_find
(result: dict, label: str, id_contains: str)
tests/test_java_member_calls.py:32
↓ 36 callersFunction_is_sensitive
Return True if this file likely contains secrets and should be skipped.
graphify/detect.py:297
↓ 36 callersFunction_shebang_interpreter
Return the interpreter name from a shebang line. Handles forms that a naive parser misses: - `#!/usr/bin/env -S python3 -u` (env -S spl
graphify/detect.py:509
↓ 36 callersFunctionextract_php
Extract classes, functions, methods, namespace uses, and calls from a .php file. Also parses any inline ``<script>`` blocks as JavaScript (#2320)
graphify/extract.py:4911
↓ 36 callersFunctionlink_cross_repo_member_calls
Emit `calls` edges for parked member calls another repo answers. Returns the number of edges added. Idempotent: the pass drops its own earlier
graphify/cross_repo_calls.py:242
↓ 36 callersFunctionmain
Console entry point. Wraps the CLI so that when a downstream consumer closes stdout early, graphify treats it as success instead of crashing with
graphify/__main__.py:808
↓ 35 callersFunction_extract
(tmp_path, files: dict[str, str])
tests/test_markdown_code_spans.py:80
↓ 35 callersFunction_invoke
(kind, payload, tmp_path, monkeypatch, *, strict=False, env=None)
tests/test_hook_strict.py:41
↓ 35 callersFunctionto_html
Generate an interactive vis.js HTML visualization of the graph. Features: node size by degree, click-to-inspect panel, search box, community
graphify/exporters/html.py:587
↓ 35 callersFunctionto_obsidian
Export graph as an Obsidian vault - one .md file per node with [[wikilinks]], plus one _COMMUNITY_name.md overview note per community (sorted to t
graphify/export.py:1018
↓ 34 callersFunction_extract_files
(tmp_path, files)
tests/test_vbnet_extractor.py:581
↓ 34 callersFunction_make_graph
()
tests/test_serve.py:46
↓ 34 callersFunction_node
(r, label, source_contains="")
tests/test_markdown_code_spans.py:94
↓ 34 callersFunction_references
(r)
tests/test_markdown_code_spans.py:99
↓ 34 callersFunctionfind_import_cycles
Detect circular import dependencies at the file level. Collapses symbol-level nodes to their source files, builds a directed graph from impor
graphify/analyze.py:978
↓ 33 callersFunction_calls
(tmp_path: Path, files: dict[str, str])
tests/test_java_member_calls.py:16
↓ 33 callersFunction_score_nodes
Combined query scorer returning the existing ranked `(score, node_id)` list. Backwards-compatible thin wrapper around `_score_query` for path, ex
graphify/serve.py:928
↓ 33 callersFunctionaffected_nodes
( graph: nx.Graph, seed: str, *, relations: Iterable[str] = DEFAULT_AFFECTED_RELATIONS, de
graphify/affected.py:373
↓ 32 callersFunction_platform_artifacts
(key)
tests/test_skillgen.py:241
↓ 32 callersFunctionedge_data
Return one edge attribute dict for (u, v), tolerating MultiGraph. For MultiGraph/MultiDiGraph there can be multiple parallel edges; this retu
graphify/build.py:1298
↓ 32 callersFunctionextract_json
Extract structure and dependency edges from a *config/manifest* .json file. Data-shaped JSON (eval fixtures, datasets, GeoJSON, API response dump
graphify/extractors/json_config.py:141
↓ 32 callersFunctionextract_powershell
Extract functions, classes, methods, and using statements from a .ps1 file.
graphify/extractors/powershell.py:11
↓ 32 callersFunctionextract_rust
Extract functions, structs, enums, traits, impl methods, statics/consts, and use declarations from a .rs file.
graphify/extractors/rust.py:373
↓ 32 callersFunctionmake_graph
()
tests/test_export.py:12
↓ 31 callersFunction_caller
(repo: str, parked: list[dict], node_id: str = "app_run", source_file: str = "src/App.java")
tests/test_cross_repo_member_calls.py:54
↓ 31 callersFunction_caller
(body, members="", inherits="")
tests/test_vbnet_extractor.py:610
↓ 31 callersFunction_declaration
(repo: str, label: str, source_file: str = "src/Greeter.java", node_id: str = "greeter", sour
tests/test_cross_repo_member_calls.py:62
↓ 31 callersFunction_fixture
A project with graphify-out/graph.json + manifest and one source file. ``fresh`` makes the graph newer than the source (not stale).
tests/test_hook_strict.py:20
↓ 31 callersFunction_graph
Build a merged-graph shape: one caller plus (declaration, member) pairs.
tests/test_cross_repo_member_calls.py:76
↓ 31 callersFunction_is_deny
(out)
tests/test_hook_strict.py:60
↓ 31 callersFunction_write
(path: Path, text: str)
tests/test_yaml_extraction.py:18
↓ 31 callersMethodclear
(self)
worked/httpx/raw/models.py:61
↓ 30 callersFunction_find
(r, label, id_contains)
tests/test_csharp_member_calls.py:45
↓ 30 callersFunction_get_extractor
Return the correct extractor function for a file, or None if unsupported. ``sniff_headers=False`` answers the weaker question "does any extractor
graphify/extract.py:12513
↓ 30 callersFunction_method
(repo: str, label: str = ".greet()", node_id: str = "greeter_greet", source_file: str = "src/Greet
tests/test_cross_repo_member_calls.py:70
↓ 30 callersFunction_stale
Lay down `name`'s skill as an older release left it.
tests/test_skill_auto_refresh.py:40
↓ 30 callersFunctionextract_swift
Extract classes, structs, protocols, functions, imports, and calls from a .swift file.
graphify/extract.py:5109
↓ 29 callersFunction_extract
(tmp_path, files: dict[str, str])
tests/test_csharp_object_creation.py:25
↓ 29 callersFunctionclaude_install
Write the graphify section to the file Claude Code reads: CLAUDE.md, or the project's AGENTS.md when Claude Code reads that instead. Returns that
graphify/install.py:2392
next →1–100 of 15,176, ranked by callers