# GraphViewModels

- File ID: file:1c4q2p1:graphviewmodels-cs
- Path: NexusReader.Application/Queries/Graph/GraphViewModels.cs
- Role: dto
- Layer: application

## Purpose

Defines lightweight Graph view-model/DTO types used by application queries to represent nodes, links, and the aggregated graph data for UI or API consumption.

## Key Details

File solely defines immutable records for graph transfer; no runtime logic, external calls, or registrations present.

## Symbols

- GraphNodeDto: Represents a single graph node with an identifier, label, grouping, and optional type metadata.
- GraphLinkDto: Represents an edge/link between two nodes with a relation type and a numeric value/weight.
- GraphDataDto: Container for an in-memory graph payload: lists of nodes and links prepared for queries or UI rendering.

## Dependencies

- No resolved dependencies.

## Calls

- No resolved calls.

## Coverage

- Symbols: 3
- Executable symbols: 0
- Executable symbols with control flow: 0
- Grounded edges: 3
- Unresolved references: 0
- Control-flow fragments: 0
- Unresolved jumps: 0
- Unsupported constructs: 0
- Control-flow coverage: 100%
- Required diagrams: 1
- Generated diagrams: 1

## Diagrams

### GraphViewModels Neighborhood

```mermaid
flowchart LR
    file_1c4q2p1_graphviewmodels_cs("GraphViewModels")
    type_4tuqh6_graphlinkdto[/"GraphLinkDto"/]
    type_5sl01j_graphnodedto[/"GraphNodeDto"/]
    type_g75yh_graphdatadto[/"GraphDataDto"/]
```

## Diagram Validation

- Status: pass
