# types/graph.types.ts

> 13 lines of code and 3 definitions.

Tree: GovLab Patterns
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/patterns#file-patterns-types-graph-types-ts
Source text: https://banes-lab.com/source/patterns/types/graph.types.ts.txt

Listed in [types](https://banes-lab.com/api/source/patterns/types.md), after [types/finding.types.ts](https://banes-lab.com/source/patterns/types/finding.types.ts.md) and before [types/information.types.ts](https://banes-lab.com/source/patterns/types/information.types.ts.md).

## Definitions

- `NodeKind` (type_alias_declaration, line 3, exported)
- `Node` (interface_declaration, line 5, exported)
- `GraphDict` (interface_declaration, line 13, exported)

## Contained in

- [types](https://banes-lab.com/anatomy/patterns/folder-patterns-types.md)

## Source

```typescript
import type { ReasoningRung } from "#types/axis.types";

export type NodeKind = "analysis" | "finding" | "source";

export interface Node {
    id: string;
    kind: NodeKind;
    reasoning: ReasoningRung;
    tags: readonly string[];
    inputs: readonly string[];
}

export interface GraphDict {
    nodes: Node[];
    edges: number;
}
```
