Nodes
Code entities are stored as nodes with properties:Node Types
| Type | Description |
|---|---|
Namespace | Logical grouping |
Class | Class definition |
Interface | Interface definition |
Struct | Struct definition |
Enum | Enum definition |
Method | Method definition |
Edges (Relationships)
Connections between nodes:| Type | Description | Example |
|---|---|---|
CONTAINS | Namespace contains type | MyApp → UserService |
DEPENDS_ON | Uses/references | OrderService → UserService |
INHERITS | Class inheritance | AdminUser → User |
IMPLEMENTS | Interface impl | UserService → IUserService |
CALLS | Method invocation | CreateOrder() → GetUser() |
Attributes
Core Attributes
Every node has:| Attribute | Type | Description |
|---|---|---|
id | string | Unique identifier |
name | string | Short name |
type | string | Node type |
fullName | string | Fully qualified name |
Layout Attributes
Added by GPU layout:| Attribute | Type | Description |
|---|---|---|
layout:x | float | X position |
layout:y | float | Y position |
layout:z | float | Z position |
Overlay Attributes
Added by plugins:| Prefix | Example |
|---|---|
git: | git:churn, git:authors |
coverage: | coverage:percent |
complexity: | complexity:cyclomatic |