# InteractionMapBuilder

**Kind:** Class

**Source:** [`atloria-monorepo/packages/doc-automation/src/v2/stages/stage-01-parse/services/interaction-map-builder.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/doc-automation/src/v2/stages/stage-01-parse/services/interaction-map-builder.ts#L39)

## Methods

| Method | Signature | Returns |
|---|---|---|
| `buildFromRepo` | `buildFromRepo(routeMappings: RouteMappingResult, repoPath: string, framework: FrameworkType)` | `InteractionMap` |
| `build` | `build(routeMappings: RouteMappingResult, files: Map<string, string>, framework: FrameworkType)` | `InteractionMap` |

## Where it refuses work

- `InteractionMapBuilder` stops the work with an early return when `!semantics.hasStateMachine`.

## When something fails

- `InteractionMapBuilder` handles failure in 1 place: it discards it silently in all 1.
