Global Options
These options apply to all commands:| Option | Description |
|---|---|
--help, -h | Show help information |
--version, -v | Show version |
--verbose | Enable verbose output |
--quiet, -q | Suppress non-error output |
analyze
Analyze a .NET solution or project and save the graph to Neo4j.Arguments
| Argument | Description |
|---|---|
path | Path to .sln or .csproj file |
Options
| Option | Default | Description |
|---|---|---|
--depth | class | Analysis depth: namespace, class, or method |
--include | * | Glob pattern for projects to include |
--exclude | Glob pattern for projects to exclude | |
--incremental | Only analyze changed files | |
--clear | Clear existing graph before analysis | |
--neo4j-uri | env | Neo4j connection URI |
--neo4j-user | env | Neo4j username |
--neo4j-password | env | Neo4j password |
Examples
serve
Start the API server and web frontend.Options
| Option | Default | Description |
|---|---|---|
--api-port | 5050 | API server port |
--web-port | 5173 | Web frontend port |
--no-web | Don’t start web frontend | |
--no-gpu | Don’t start GPU server |
Examples
layout
Manage graph layout positions.layout compute
Compute layout using GPU or CPU.| Option | Default | Description |
|---|---|---|
--gpu | Force GPU computation | |
--cpu | Force CPU computation | |
--iterations | 1000 | Number of iterations |
--gravity | 1.0 | Gravity strength |
layout clear
Clear all layout positions.layout status
Check layout status.overlay
Manage overlay plugins.overlay list
List available overlays.overlay apply
Apply an overlay.overlay remove
Remove an overlay.overlay status
Check overlay status.gpu
Manage GPU layout server.gpu status
Check GPU availability.gpu start
Start the GPU server.gpu stop
Stop the GPU server.query
Run Cypher queries against Neo4j.Examples
export
Export graph data.Formats
| Format | Description |
|---|---|
json | JSON format |
graphml | GraphML format |
dot | Graphviz DOT format |
csv | CSV (nodes and edges) |
Examples
Environment Variables
The CLI reads these environment variables:| Variable | Description |
|---|---|
Neo4j__Uri | Neo4j connection URI |
Neo4j__Username | Neo4j username |
Neo4j__Password | Neo4j password |
Neo4j__Database | Neo4j database name |
GRAPHPU_URI | GPU server WebSocket URI |
npx @dotenvx/dotenvx run to load from .env: