Usage
Options
Description
devgraph query works against the built local graph in .devgraph/graph.json.
It ranks files and snippets using repo-grounded signals such as:
- file path
- symbol names
- extracted chunk text
- nearby graph edges such as
importsandreferences
- matched files
- matching snippets with line ranges
- nearby graph edges
Example Questions
Output Shape
Query output includes:- ranked file matches
- snippets with line ranges
- related edges from the graph
Typical Workflow
devgraph query when broad file search is too noisy and you want focused graph-backed evidence.