grafema-explore
v0.2.0
Published
Interactive graph navigation for Grafema code analysis
Readme
Grafema Explore - VS Code Extension
Interactive graph navigation for Grafema code analysis.
Features
- Find Node at Cursor (Cmd+Shift+G) - Find the graph node at your cursor position
- Explore Edges - Expand nodes to see incoming/outgoing edges
- Navigate Graph - Click on edges to explore connected nodes
- Go to Source - Click on any node to jump to its location in code
- Path Highlighting - Green markers show your navigation trail
Requirements
- Grafema graph database (
.grafema/graph.rfdb) in your workspace - Run
grafema analyzefirst to create the graph
Installation from Source
cd packages/vscode
./scripts/install-local.shUsage
- Open a project that has been analyzed with
grafema analyze - Open the "Grafema Explore" panel in the Explorer sidebar
- Press Cmd+Shift+G (Mac) or Ctrl+Shift+G (Windows/Linux) to find the node at cursor
- Expand nodes to explore their edges
- Click on nodes to navigate to source code
Development
# Build
pnpm build
# Watch mode
pnpm watch
# Run in VS Code
# 1. Open packages/vscode in VS Code
# 2. Press F5 to launch Extension Development Host