Skip to main content

Nodes

Code entities are stored as nodes with properties:
{
  "id": "MyApp.Services.UserService",
  "name": "UserService",
  "type": "Class",
  "fullName": "MyApp.Services.UserService",
  "filePath": "/src/Services/UserService.cs",
  "namespace": "MyApp.Services",
  "visibility": "Public",
  "isAbstract": false,
  "isStatic": false
}

Node Types

TypeDescription
NamespaceLogical grouping
ClassClass definition
InterfaceInterface definition
StructStruct definition
EnumEnum definition
MethodMethod definition

Edges (Relationships)

Connections between nodes:
TypeDescriptionExample
CONTAINSNamespace contains typeMyAppUserService
DEPENDS_ONUses/referencesOrderServiceUserService
INHERITSClass inheritanceAdminUserUser
IMPLEMENTSInterface implUserServiceIUserService
CALLSMethod invocationCreateOrder()GetUser()

Attributes

Core Attributes

Every node has:
AttributeTypeDescription
idstringUnique identifier
namestringShort name
typestringNode type
fullNamestringFully qualified name

Layout Attributes

Added by GPU layout:
AttributeTypeDescription
layout:xfloatX position
layout:yfloatY position
layout:zfloatZ position

Overlay Attributes

Added by plugins:
PrefixExample
git:git:churn, git:authors
coverage:coverage:percent
complexity:complexity:cyclomatic