Make sure you’ve completed the Installation guide first.
Step 1: Analyze a Codebase
Let’s analyze a .NET solution. You can use any.sln file, or try CodeGraph on itself:
The
sh -c wrapper is needed because some systems have a binary called analyze in PATH that can interfere with argument parsing.Step 2: Start the API Server
In your first terminal:http://localhost:5050.
Step 3: Start the Web Frontend
In a second terminal:http://localhost:5173.
Step 4: Explore!
Open http://localhost:5173 in your browser.
Controls
| Action | Mouse | Keyboard |
|---|---|---|
| Rotate | Left click + drag | - |
| Pan | Right click + drag | Arrow keys |
| Zoom | Scroll wheel | +/- |
| Select node | Click | - |
| Focus node | Double-click | - |
One-Command Startup
For convenience, you can start everything with a single command:- Neo4j (checks if running, starts if not)
- GraphPU GPU Server (if available)
- API Server
- Web Frontend
Ctrl+C to stop all services.