# mountea-framework/mounteadialoguesystem architecture

> Architecture diagram of the GitHub repository mountea-framework/mounteadialoguesystem, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mountea-framework/mounteadialoguesystem
- Repository: https://github.com/mountea-framework/mounteadialoguesystem

## Overview

Mountea Dialogue System is an Unreal Engine dialogue-authoring editor plus a runtime for executing participant-driven dialogue graphs. The principal runtime flow starts when a game actor requests dialogue through a manager; the manager coordinates a graph and transient dialogue context, while session/world services process rows and synchronize UI signals. The editor provides graph authoring, validation, previews, search, and runtime inspection. Runtime wiring beyond the manager excerpts is only represented where the README or source index supports it; dashed links mark unverified relationships.

Main entry points: [`Source/MounteaDialogueSystem/Private/Components/MounteaDialogueManager.cpp`](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Components/MounteaDialogueManager.cpp) (Dialogue manager), [`Source/MounteaDialogueSystem/Private/Nodes/MounteaDialogueGraphNode.cpp`](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Nodes/MounteaDialogueGraphNode.cpp) (Dialogue node types), [`Source/MounteaDialogueSystem/Private/Graph/MounteaDialogueGraph.cpp`](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Graph/MounteaDialogueGraph.cpp) (Dialogue graph), [`Source/MounteaDialogueSystemEditor/Private/Ed/EdGraph_MounteaDialogueGraph.cpp`](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystemEditor/Private/Ed/EdGraph_MounteaDialogueGraph.cpp) (Visual graph editor)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Dialogue runtime"]
  node_manager["Dialogue manager"]
  node_manager_api["Manager Blueprint API"]
  node_world_service["World dialogue service"]
  node_session["Dialogue session"]
  node_participant["Participant behavior"]
end

subgraph group_content["Dialogue content"]
  node_context["Dialogue context"]
  node_graph["Dialogue graph"]
  node_graph_nodes["Dialogue node types"]
  node_graph_data["Dialogue data types"]
  node_conditions["Node conditions"]
  node_decorators["Node decorators"]
end

subgraph group_presentation["Dialogue presentation"]
  node_participant_ui["Participant UI component"]
  node_hud_service["Viewport HUD service"]
  node_dialogue_widgets["Dialogue widgets"]
end

subgraph group_editor["Dialogue editor"]
  node_editor_graph["Visual graph editor"]
  node_editor_nodes["Graph node views"]
  node_validation["Graph validation"]
  node_preview["Dialogue previews"]
  node_search["Dialogue search"]
  node_runtime_debug["Runtime graph inspection<br/>[FMDSPathDrawer.cpp]"]
end

node_game_actor(("Game actor"))

node_game_actor -.->|"requests dialogue"| node_manager
node_manager_api -->|"dispatches requests"| node_manager
node_manager -->|"updates context"| node_context
node_manager -->|"uses graph"| node_graph
node_manager -->|"gets session service"| node_world_service
node_world_service -->|"provides session"| node_session
node_manager -->|"forwards row events"| node_session
node_graph -.->|"contains nodes"| node_graph_nodes
node_graph_nodes -->|"uses dialogue data"| node_graph_data
node_context -->|"tracks active node"| node_graph_nodes
node_graph_nodes -.->|"evaluates conditions"| node_conditions
node_graph_nodes -->|"evaluates decorators"| node_decorators
node_manager -.->|"starts participants"| node_participant
node_manager -.->|"dispatches UI signals"| node_participant_ui
node_participant_ui -.->|"uses HUD service"| node_hud_service
node_hud_service -.->|"presents dialogue"| node_dialogue_widgets
node_editor_graph -.->|"renders graph nodes"| node_editor_nodes
node_editor_graph -.->|"authors dialogue graphs"| node_graph
node_editor_graph -->|"validates graphs"| node_validation
node_preview -->|"previews dialogue data"| node_graph_data
node_search -->|"searches node content"| node_editor_nodes
node_runtime_debug -->|"inspects runtime progress"| node_graph

click node_manager "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Components/MounteaDialogueManager.cpp"
click node_manager_api "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Helpers/MounteaDialogueManagerStatics.cpp"
click node_world_service "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Subsystem/MounteaDialogueWorldSubsystem.cpp"
click node_session "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Components/MounteaDialogueSession.cpp"
click node_participant "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Components/MounteaDialogueParticipant.cpp"
click node_context "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Data/MounteaDialogueContext.cpp"
click node_graph "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Graph/MounteaDialogueGraph.cpp"
click node_graph_nodes "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Nodes/MounteaDialogueGraphNode.cpp"
click node_graph_data "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Public/Data/MounteaDialogueGraphDataTypes.h"
click node_conditions "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Conditions/MounteaDialogueConditionBase.cpp"
click node_decorators "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Decorators/MounteaDialogueDecoratorBase.cpp"
click node_participant_ui "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Components/MounteaDialogueParticipantUserInterfaceComponent.cpp"
click node_hud_service "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Subsystem/MounteaDialogueViewportHUDSubsystem.cpp"
click node_dialogue_widgets "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/WBP/MounteaDialogue.cpp"
click node_editor_graph "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystemEditor/Private/Ed/EdGraph_MounteaDialogueGraph.cpp"
click node_editor_nodes "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystemEditor/Private/Ed/EdNode_MounteaDialogueGraphNode.cpp"
click node_validation "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystemEditor/Private/Popups/MDSPopup_GraphValidation.cpp"
click node_preview "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystemEditor/Private/DetailsPanel/Widgets/SMounteaDialoguePreviewCard.cpp"
click node_search "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystemEditor/Private/Search/MounteaDialogueSearchManager.cpp"
click node_runtime_debug "https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystemEditor/Private/GraphScheme/FMDSPathDrawer.cpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_manager,node_manager_api,node_world_service,node_session,node_participant toneBlue
class node_context,node_graph,node_graph_nodes,node_graph_data,node_conditions,node_decorators toneAmber
class node_participant_ui,node_hud_service,node_dialogue_widgets toneMint
class node_editor_graph,node_editor_nodes,node_validation,node_preview,node_search,node_runtime_debug toneRose
class node_game_actor toneIndigo
```

## Components

### Dialogue runtime

- [Dialogue manager](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Components/MounteaDialogueManager.cpp): `Source/MounteaDialogueSystem/Private/Components/MounteaDialogueManager.cpp`
- [Manager Blueprint API](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Helpers/MounteaDialogueManagerStatics.cpp): `Source/MounteaDialogueSystem/Private/Helpers/MounteaDialogueManagerStatics.cpp`
- [World dialogue service](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Subsystem/MounteaDialogueWorldSubsystem.cpp): `Source/MounteaDialogueSystem/Private/Subsystem/MounteaDialogueWorldSubsystem.cpp`
- [Dialogue session](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Components/MounteaDialogueSession.cpp): `Source/MounteaDialogueSystem/Private/Components/MounteaDialogueSession.cpp`
- [Participant behavior](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Components/MounteaDialogueParticipant.cpp): `Source/MounteaDialogueSystem/Private/Components/MounteaDialogueParticipant.cpp`

### Dialogue content

- [Dialogue context](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Data/MounteaDialogueContext.cpp): `Source/MounteaDialogueSystem/Private/Data/MounteaDialogueContext.cpp`
- [Dialogue graph](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Graph/MounteaDialogueGraph.cpp): `Source/MounteaDialogueSystem/Private/Graph/MounteaDialogueGraph.cpp`
- [Dialogue node types](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Nodes/MounteaDialogueGraphNode.cpp): `Source/MounteaDialogueSystem/Private/Nodes/MounteaDialogueGraphNode.cpp`
- [Dialogue data types](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Public/Data/MounteaDialogueGraphDataTypes.h): `Source/MounteaDialogueSystem/Public/Data/MounteaDialogueGraphDataTypes.h`
- [Node conditions](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Conditions/MounteaDialogueConditionBase.cpp): `Source/MounteaDialogueSystem/Private/Conditions/MounteaDialogueConditionBase.cpp`
- [Node decorators](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Decorators/MounteaDialogueDecoratorBase.cpp): `Source/MounteaDialogueSystem/Private/Decorators/MounteaDialogueDecoratorBase.cpp`

### Dialogue presentation

- [Participant UI component](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Components/MounteaDialogueParticipantUserInterfaceComponent.cpp): `Source/MounteaDialogueSystem/Private/Components/MounteaDialogueParticipantUserInterfaceComponent.cpp`
- [Viewport HUD service](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/Subsystem/MounteaDialogueViewportHUDSubsystem.cpp): `Source/MounteaDialogueSystem/Private/Subsystem/MounteaDialogueViewportHUDSubsystem.cpp`
- [Dialogue widgets](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystem/Private/WBP/MounteaDialogue.cpp): `Source/MounteaDialogueSystem/Private/WBP/MounteaDialogue.cpp`

### Dialogue editor

- [Visual graph editor](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystemEditor/Private/Ed/EdGraph_MounteaDialogueGraph.cpp): `Source/MounteaDialogueSystemEditor/Private/Ed/EdGraph_MounteaDialogueGraph.cpp`
- [Graph node views](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystemEditor/Private/Ed/EdNode_MounteaDialogueGraphNode.cpp): `Source/MounteaDialogueSystemEditor/Private/Ed/EdNode_MounteaDialogueGraphNode.cpp`
- [Graph validation](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystemEditor/Private/Popups/MDSPopup_GraphValidation.cpp): `Source/MounteaDialogueSystemEditor/Private/Popups/MDSPopup_GraphValidation.cpp`
- [Dialogue previews](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystemEditor/Private/DetailsPanel/Widgets/SMounteaDialoguePreviewCard.cpp): `Source/MounteaDialogueSystemEditor/Private/DetailsPanel/Widgets/SMounteaDialoguePreviewCard.cpp`
- [Dialogue search](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystemEditor/Private/Search/MounteaDialogueSearchManager.cpp): `Source/MounteaDialogueSystemEditor/Private/Search/MounteaDialogueSearchManager.cpp`
- [Runtime graph inspection](https://github.com/mountea-framework/mounteadialoguesystem/blob/master/Source/MounteaDialogueSystemEditor/Private/GraphScheme/FMDSPathDrawer.cpp): `Source/MounteaDialogueSystemEditor/Private/GraphScheme/FMDSPathDrawer.cpp`

### Other components

- **Game actor**

## Connections

- Game actor → Dialogue manager: requests dialogue
- Manager Blueprint API → Dialogue manager: dispatches requests (evidence: `Source/MounteaDialogueSystem/Private/Helpers/MounteaDialogueManagerStatics.cpp`)
- Dialogue manager → Dialogue context: updates context (evidence: `Source/MounteaDialogueSystem/Private/Components/MounteaDialogueManager.cpp`)
- Dialogue manager → Dialogue graph: uses graph (evidence: `Source/MounteaDialogueSystem/Private/Components/MounteaDialogueManager.cpp`)
- Dialogue manager → World dialogue service: gets session service (evidence: `Source/MounteaDialogueSystem/Private/Components/MounteaDialogueManager.cpp`)
- World dialogue service → Dialogue session: provides session
- Dialogue manager → Dialogue session: forwards row events (evidence: `Source/MounteaDialogueSystem/Private/Components/MounteaDialogueManager.cpp`)
- Dialogue graph → Dialogue node types: contains nodes
- Dialogue node types → Dialogue data types: uses dialogue data
- Dialogue context → Dialogue node types: tracks active node
- Dialogue node types → Node conditions: evaluates conditions
- Dialogue node types → Node decorators: evaluates decorators
- Dialogue manager → Participant behavior: starts participants
- Dialogue manager → Participant UI component: dispatches UI signals
- Participant UI component → Viewport HUD service: uses HUD service
- Viewport HUD service → Dialogue widgets: presents dialogue
- Visual graph editor → Graph node views: renders graph nodes
- Visual graph editor → Dialogue graph: authors dialogue graphs (evidence: `README.md`)
- Visual graph editor → Graph validation: validates graphs (evidence: `README.md`)
- Dialogue previews → Dialogue data types: previews dialogue data (evidence: `README.md`)
- Dialogue search → Graph node views: searches node content (evidence: `Source/MounteaDialogueSystemEditor/Private/Search/MounteaDialogueSearchManager.cpp`)
- Runtime graph inspection → Dialogue graph: inspects runtime progress (evidence: `README.md`)
