graf
Index code and document relationships in a local graph to find the impact of changes.
What does it do?
When you index a project, graf stores relationships between code and documents in .graf/index.db. You can then search for a symbol, confirm its exact ID, and use it in an impact query to see the symbol, code that depends on it, and the relationships between them. When code changes, it updates only the changed files. If a name is ambiguous, it returns candidates and supporting evidence instead of choosing one arbitrarily. JSON output is available for structured results.
Key features
- Index relationships between code and documents as a SQLite graph.
- Query call relationships, dependencies, and change impact.
- Update only changed files after code changes.
- Return candidates and supporting evidence for ambiguous symbol names.
- Output structured JSON results.