Get Graph
Retrieve all nodes and edges with their attributes.Returns the complete graph structure.
Response
Example
Get Node
Retrieve a single node by ID.Returns a single node with all attributes.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
nodeId | string | The node’s unique identifier |
Response
Example
Save Layout
Save node positions to the database.Persists layout positions for all nodes.
Request Body
Response
Example
Clear Layout
Remove all layout positions from nodes.Clears all
layout: prefixed attributes.Response
Example
Get Layout Status
Check how many nodes have layout positions.Returns layout statistics.
Response
Example
Node Attributes
Nodes contain both core attributes and overlay-specific attributes:Core Attributes
| Attribute | Type | Description |
|---|---|---|
id | string | Unique identifier |
name | string | Entity name |
type | string | Node type (Class, Interface, etc.) |
fullName | string | Fully qualified name |
filePath | string | Source file path |
namespace | string | Containing namespace |
visibility | string | Access modifier |
isAbstract | boolean | Whether abstract |
isStatic | boolean | Whether static |
Layout Attributes
| Attribute | Type | Description |
|---|---|---|
layout:x | number | X position |
layout:y | number | Y position |
layout:z | number | Z position |
Overlay Attributes
Attributes prefixed with the overlay name:| Prefix | Example | Description |
|---|---|---|
git: | git:churn | Git activity data |
coverage: | coverage:percent | Test coverage data |
complexity: | complexity:cyclomatic | Complexity metrics |
Edge Types
| Type | Description |
|---|---|
CONTAINS | Namespace contains entity |
DEPENDS_ON | Uses/references |
INHERITS | Class inheritance |
IMPLEMENTS | Interface implementation |
CALLS | Method invocation |