Skip to main content
The analyzer container runs the code analyzer microservice that parses source code and extracts structure.

How It Works

1

Open Solution

Roslyn opens your .sln file and compiles all projects
2

Traverse Symbols

Walk through namespaces, types, and members in the symbol tree
3

Extract Nodes

Create a node for each code entity with its properties
4

Extract Edges

Identify relationships between nodes

Key Concepts

ConceptDescription
Node TypesTypes of code entities extracted
Edge TypesRelationships between entities

Filtering

The analyzer only extracts source symbols:
  • Types and members defined in your code
  • No BCL/Framework types (System.String, etc.)
  • No compiler-generated members
  • No implicit declarations
This keeps the graph focused on your architecture.

API

MethodEndpointDescription
GET/healthHealth check
POST/analyzeAnalyze a codebase path

Output Format

{
  "nodes": [
    {
      "id": "MyApp.Services.UserService",
      "name": "UserService",
      "type": "Class",
      "fullName": "MyApp.Services.UserService",
      "filePath": "/src/Services/UserService.cs",
      "namespace": "MyApp.Services",
      "visibility": "Public"
    }
  ],
  "edges": [
    {
      "source": "MyApp.Services.UserService",
      "target": "MyApp.Data.IRepository",
      "type": "DependsOn"
    }
  ]
}