Edges represent relationships between nodes.
Structural Edges
| Edge | Description | Example |
|---|
Contains | Parent contains child | Namespace → Class |
Inherits | Class extends base | AdminUser → User |
Implements | Type implements interface | UserService → IUserService |
Overrides | Method overrides base | Derived.DoWork() → Base.DoWork() |
Coupling Edges
| Edge | Description | Example |
|---|
Calls | Method invokes another | CreateOrder() → GetUser() |
Instantiates | Creates instance via new | Handler → new Service() |
References | Type/member reference | Field types, return types, parameters |
The References edge captures type dependencies from field types, method return types, parameter types, and generic type arguments.
Edge Properties
{
"source": "MyApp.Services.OrderService",
"target": "MyApp.Services.UserService",
"type": "Calls",
"sourceMethod": "CreateOrder",
"targetMethod": "GetUser"
}
Planned Edge Types
Additional DataFlow edges are planned for future releases:| Edge | Description |
|---|
Reads | Reads a field/property |
Writes | Writes to a field/property |
Returns | Returns a value |
Creates | Creates an instance |
Throws | Throws an exception |
DataFlowsTo | Data flows from source to target |
See the Roadmap for details.
Edge Directions
All edges are directed:
Contains: Parent → Child
Inherits: Derived → Base
Implements: Implementation → Interface
Calls: Caller → Callee
References: Referencing → Referenced