Technical reference for Graphify commands, node IDs, edge types, and troubleshooting.
Technical reference for Graphify CLI commands, node identifiers, edge types, and troubleshooting.
1# Signal activity (REQUIRED before every command)
2mkdir -p graphify-out && touch graphify-out/.graphify-activity
3
4# Build
5graphify . [--code-only] # Initial build
6graphify update . [--code-only] # Rebuild
7
8# Query
9graphify query "question" # Architecture question
10graphify explain <node_id> # Deep-dive on component
11graphify path <nodeA> <nodeB> # Trace relationship
12
13# Visualize
14graphify cluster-only . # Generate GRAPH_REPORT.md + graph.html
15
16# Config
17graphify install # Install model + setup
18graphify --version # Version info
Unique identifier for a graph node. Formats:
path/to/file.py — File nodepath/to/file.py:L10 — Symbol at linefunctionName — Symbol by nameClassName.method — Method| Type | Description |
|---|---|
imports_from | Module imports another |
calls | Function calls another |
contains | File contains symbol |
references | Symbol references another |
reads | Code reads file |
writes | Code writes file |
Auto-detected groups of related nodes (e.g., “YouTube Pipeline”, “Dictionary System”). Named by graphify cluster-only ..
| Symptom | Fix |
|---|---|
command not found | Restart shell; ~/.local/bin in PATH |
no LLM API key | Set GEMINI_API_KEY or use --code-only |
graph.json < 500 bytes | Run graphify update . --code-only |
no path found | Rebuild; nodes not in same graph |
stale references | Full rebuild: graphify . --code-only |
permission denied | Check file permissions; not in .gitignore |