# otb2124/ossianmanager architecture

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

- Interactive diagram: https://gitdiagram.com/otb2124/ossianmanager
- Repository: https://github.com/otb2124/ossianmanager

## Overview

Ossian Manager is a desktop editor shell for the OssianForge game engine. The main workflow is to select or manage a project, enter its routed editor workspaces, browse scene and project content, edit properties, and view the live engine renderer embedded in the window. Angular provides the UI and editor services; Tauri/Rust provides filesystem and project operations and hosts the engine process. The README documents several capabilities whose implementation details were not sampled, so those appear as subsystem nodes with documented links rather than inferred internal pipelines.

Main entry points: [`src/app/app.routes.ts`](https://github.com/otb2124/ossianmanager/blob/master/src/app/app.routes.ts) (Routes and menus), [`src/app/app.component.ts`](https://github.com/otb2124/ossianmanager/blob/master/src/app/app.component.ts) (Angular app shell), [`src-tauri/src/lib.rs`](https://github.com/otb2124/ossianmanager/blob/master/src-tauri/src/lib.rs) (Tauri commands), [`src/app/services/data/projects/project.service.ts`](https://github.com/otb2124/ossianmanager/blob/master/src/app/services/data/projects/project.service.ts) (Project registry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Editor shell"]
  node_app["Angular app shell<br/>[app.component.ts]"]
  node_routes["Routes and menus<br/>[app.routes.ts]"]
  node_actions["Action registry"]
  node_shortcuts["Keyboard shortcuts"]
  node_context["Context menus<br/>[context-menu.ts]"]
end

subgraph group_projects["Projects and settings"]
  node_projects_page["Project management<br/>[projects-page.ts]"]
  node_project_service["Project registry<br/>[project.service.ts]"]
  node_app_config["App configuration"]
  node_settings["Settings pages<br/>[settings-page.ts]"]
  node_tags["Project tags"]
end

subgraph group_workspaces["Editor workspaces"]
  node_scene["Scene workspace<br/>[scene-page.ts]"]
  node_graph["Graph editor<br/>[graph-editor.ts]"]
  node_inspector["Inspector fields<br/>[field-list.ts]"]
  node_files["File explorer<br/>[file-tree-panel.ts]"]
  node_scripts["Script editor<br/>[script-editor.ts]"]
  node_libraries["Libraries page<br/>[libraries-page.ts]"]
  node_logs["Logs page<br/>[logs-page.ts]"]
end

subgraph group_engine["Engine runtime"]
  node_engine_view["Engine viewport<br/>[viewport3d.ts]"]
  node_engine_bridge["Engine bridge"]
  node_engine_host["Engine process host<br/>[engine_host.rs]"]
  node_engine_link["Engine IPC link<br/>[engine_link.rs]"]
end

subgraph group_services["Platform services"]
  node_persistence["Persistence service"]
  node_tauri["Tauri commands<br/>[lib.rs]"]
  node_notifications["Notifications and log"]
  node_git["Git information<br/>[git.service.ts]"]
  node_theme["Theme service<br/>[theme.service.ts]"]
end

node_user(("Editor user"))
node_engine_process["OssianForge engine"]
node_filesystem[("Local project files")]

node_user -->|"uses"| node_app
node_app -->|"restores project"| node_project_service
node_app -->|"loads config"| node_app_config
node_app -->|"starts listening"| node_shortcuts
node_app -->|"registers menus"| node_context
node_routes -->|"routes to"| node_projects_page
node_routes -->|"routes to"| node_settings
node_routes -->|"routes to"| node_scene
node_routes -->|"routes to"| node_graph
node_routes -->|"routes to"| node_libraries
node_routes -->|"routes to"| node_logs
node_shortcuts -->|"invokes"| node_actions
node_context -->|"invokes"| node_actions
node_projects_page -.->|"manages projects"| node_project_service
node_project_service -->|"reads and writes"| node_persistence
node_project_service -->|"uses tags"| node_tags
node_app_config -->|"reads and writes"| node_persistence
node_persistence -->|"invokes filesystem commands"| node_tauri
node_tauri -->|"reads and writes"| node_filesystem
node_scene -.->|"shows viewport"| node_engine_view
node_engine_view -.->|"controls viewport"| node_engine_bridge
node_engine_bridge -->|"invokes engine commands"| node_tauri
node_tauri -->|"spawns and embeds"| node_engine_host
node_engine_host -->|"launches and positions"| node_engine_process
node_engine_link -->|"exchanges IPC"| node_engine_process
node_settings -.->|"configures preferences"| node_app_config
node_scripts -.->|"edits project files"| node_files
node_notifications -->|"persists log"| node_persistence
node_logs -.->|"shows notification log"| node_notifications
node_git -.->|"gets repository info"| node_tauri
node_theme -->|"reads theme fallback"| node_app_config

click node_app "https://github.com/otb2124/ossianmanager/blob/master/src/app/app.component.ts"
click node_routes "https://github.com/otb2124/ossianmanager/blob/master/src/app/app.routes.ts"
click node_actions "https://github.com/otb2124/ossianmanager/blob/master/src/app/services/system/action-registry.service.ts"
click node_shortcuts "https://github.com/otb2124/ossianmanager/blob/master/src/app/services/system/key-shortcut.service.ts"
click node_context "https://github.com/otb2124/ossianmanager/blob/master/src/app/components/context-menu/context-menu.ts"
click node_projects_page "https://github.com/otb2124/ossianmanager/blob/master/src/app/pages/projects/projects-page/projects-page.ts"
click node_project_service "https://github.com/otb2124/ossianmanager/blob/master/src/app/services/data/projects/project.service.ts"
click node_app_config "https://github.com/otb2124/ossianmanager/blob/master/src/app/services/data/app-config/app-config.service.ts"
click node_settings "https://github.com/otb2124/ossianmanager/blob/master/src/app/pages/settings/settings-page/settings-page.ts"
click node_tags "https://github.com/otb2124/ossianmanager/blob/master/src/app/services/data/user-tags/user-tag.service.ts"
click node_scene "https://github.com/otb2124/ossianmanager/blob/master/src/app/pages/scene/scene-page/scene-page.ts"
click node_graph "https://github.com/otb2124/ossianmanager/blob/master/src/app/components/graph-editor/graph-editor.ts"
click node_inspector "https://github.com/otb2124/ossianmanager/blob/master/src/app/components/field-list/field-list.ts"
click node_files "https://github.com/otb2124/ossianmanager/blob/master/src/app/components/file-tree-panel/file-tree-panel.ts"
click node_scripts "https://github.com/otb2124/ossianmanager/blob/master/src/app/components/script-editor/script-editor.ts"
click node_libraries "https://github.com/otb2124/ossianmanager/blob/master/src/app/pages/libraries/libraries-page/libraries-page.ts"
click node_logs "https://github.com/otb2124/ossianmanager/blob/master/src/app/pages/logs/logs-page/logs-page.ts"
click node_engine_view "https://github.com/otb2124/ossianmanager/blob/master/src/app/components/viewport3d/viewport3d.ts"
click node_engine_bridge "https://github.com/otb2124/ossianmanager/blob/master/src/app/services/engine/bridge/engine-bridge.service.ts"
click node_engine_host "https://github.com/otb2124/ossianmanager/blob/master/src-tauri/src/engine_host.rs"
click node_engine_link "https://github.com/otb2124/ossianmanager/blob/master/src-tauri/src/engine_link.rs"
click node_persistence "https://github.com/otb2124/ossianmanager/blob/master/src/app/services/persistence/persistence.service.ts"
click node_tauri "https://github.com/otb2124/ossianmanager/blob/master/src-tauri/src/lib.rs"
click node_notifications "https://github.com/otb2124/ossianmanager/blob/master/src/app/services/notifications/notification.service.ts"
click node_git "https://github.com/otb2124/ossianmanager/blob/master/src/app/services/git/git.service.ts"
click node_theme "https://github.com/otb2124/ossianmanager/blob/master/src/app/services/theme/theme.service.ts"

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_app,node_routes,node_actions,node_shortcuts,node_context,node_user toneBlue
class node_projects_page,node_project_service,node_app_config,node_settings,node_tags,node_filesystem toneAmber
class node_scene,node_graph,node_inspector,node_files,node_scripts,node_libraries,node_logs toneMint
class node_engine_view,node_engine_bridge,node_engine_host,node_engine_link toneRose
class node_persistence,node_tauri,node_notifications,node_git,node_theme,node_engine_process toneIndigo
```

## Components

### Editor shell

- [Angular app shell](https://github.com/otb2124/ossianmanager/blob/master/src/app/app.component.ts): `src/app/app.component.ts`
- [Routes and menus](https://github.com/otb2124/ossianmanager/blob/master/src/app/app.routes.ts): `src/app/app.routes.ts`
- [Action registry](https://github.com/otb2124/ossianmanager/blob/master/src/app/services/system/action-registry.service.ts): `src/app/services/system/action-registry.service.ts`
- [Keyboard shortcuts](https://github.com/otb2124/ossianmanager/blob/master/src/app/services/system/key-shortcut.service.ts): `src/app/services/system/key-shortcut.service.ts`
- [Context menus](https://github.com/otb2124/ossianmanager/blob/master/src/app/components/context-menu/context-menu.ts): `src/app/components/context-menu/context-menu.ts`

### Projects and settings

- [Project management](https://github.com/otb2124/ossianmanager/blob/master/src/app/pages/projects/projects-page/projects-page.ts): `src/app/pages/projects/projects-page/projects-page.ts`
- [Project registry](https://github.com/otb2124/ossianmanager/blob/master/src/app/services/data/projects/project.service.ts): `src/app/services/data/projects/project.service.ts`
- [App configuration](https://github.com/otb2124/ossianmanager/blob/master/src/app/services/data/app-config/app-config.service.ts): `src/app/services/data/app-config/app-config.service.ts`
- [Settings pages](https://github.com/otb2124/ossianmanager/blob/master/src/app/pages/settings/settings-page/settings-page.ts): `src/app/pages/settings/settings-page/settings-page.ts`
- [Project tags](https://github.com/otb2124/ossianmanager/blob/master/src/app/services/data/user-tags/user-tag.service.ts): `src/app/services/data/user-tags/user-tag.service.ts`

### Editor workspaces

- [Scene workspace](https://github.com/otb2124/ossianmanager/blob/master/src/app/pages/scene/scene-page/scene-page.ts): `src/app/pages/scene/scene-page/scene-page.ts`
- [Graph editor](https://github.com/otb2124/ossianmanager/blob/master/src/app/components/graph-editor/graph-editor.ts): `src/app/components/graph-editor/graph-editor.ts`
- [Inspector fields](https://github.com/otb2124/ossianmanager/blob/master/src/app/components/field-list/field-list.ts): `src/app/components/field-list/field-list.ts`
- [File explorer](https://github.com/otb2124/ossianmanager/blob/master/src/app/components/file-tree-panel/file-tree-panel.ts): `src/app/components/file-tree-panel/file-tree-panel.ts`
- [Script editor](https://github.com/otb2124/ossianmanager/blob/master/src/app/components/script-editor/script-editor.ts): `src/app/components/script-editor/script-editor.ts`
- [Libraries page](https://github.com/otb2124/ossianmanager/blob/master/src/app/pages/libraries/libraries-page/libraries-page.ts): `src/app/pages/libraries/libraries-page/libraries-page.ts`
- [Logs page](https://github.com/otb2124/ossianmanager/blob/master/src/app/pages/logs/logs-page/logs-page.ts): `src/app/pages/logs/logs-page/logs-page.ts`

### Engine runtime

- [Engine viewport](https://github.com/otb2124/ossianmanager/blob/master/src/app/components/viewport3d/viewport3d.ts): `src/app/components/viewport3d/viewport3d.ts`
- [Engine bridge](https://github.com/otb2124/ossianmanager/blob/master/src/app/services/engine/bridge/engine-bridge.service.ts): `src/app/services/engine/bridge/engine-bridge.service.ts`
- [Engine process host](https://github.com/otb2124/ossianmanager/blob/master/src-tauri/src/engine_host.rs): `src-tauri/src/engine_host.rs`
- [Engine IPC link](https://github.com/otb2124/ossianmanager/blob/master/src-tauri/src/engine_link.rs): `src-tauri/src/engine_link.rs`

### Platform services

- [Persistence service](https://github.com/otb2124/ossianmanager/blob/master/src/app/services/persistence/persistence.service.ts): `src/app/services/persistence/persistence.service.ts`
- [Tauri commands](https://github.com/otb2124/ossianmanager/blob/master/src-tauri/src/lib.rs): `src-tauri/src/lib.rs`
- [Notifications and log](https://github.com/otb2124/ossianmanager/blob/master/src/app/services/notifications/notification.service.ts): `src/app/services/notifications/notification.service.ts`
- [Git information](https://github.com/otb2124/ossianmanager/blob/master/src/app/services/git/git.service.ts): `src/app/services/git/git.service.ts`
- [Theme service](https://github.com/otb2124/ossianmanager/blob/master/src/app/services/theme/theme.service.ts): `src/app/services/theme/theme.service.ts`

### Other components

- **Editor user**
- **OssianForge engine**
- **Local project files**

## Connections

- Editor user → Angular app shell: uses (evidence: `README.md`)
- Angular app shell → Project registry: restores project (evidence: `src/app/app.component.ts`)
- Angular app shell → App configuration: loads config (evidence: `src/app/app.component.ts`)
- Angular app shell → Keyboard shortcuts: starts listening (evidence: `src/app/app.component.ts`)
- Angular app shell → Context menus: registers menus (evidence: `src/app/app.component.ts`)
- Routes and menus → Project management: routes to (evidence: `src/app/app.routes.ts`)
- Routes and menus → Settings pages: routes to (evidence: `src/app/app.routes.ts`)
- Routes and menus → Scene workspace: routes to (evidence: `src/app/app.routes.ts`)
- Routes and menus → Graph editor: routes to (evidence: `src/app/app.routes.ts`)
- Routes and menus → Libraries page: routes to (evidence: `src/app/app.routes.ts`)
- Routes and menus → Logs page: routes to (evidence: `src/app/app.routes.ts`)
- Keyboard shortcuts → Action registry: invokes (evidence: `src/app/services/system/key-shortcut.service.ts`)
- Context menus → Action registry: invokes
- Project management → Project registry: manages projects (evidence: `README.md`)
- Project registry → Persistence service: reads and writes (evidence: `src/app/services/data/projects/project.service.ts`)
- Project registry → Project tags: uses tags (evidence: `src/app/services/data/projects/project.service.ts`)
- App configuration → Persistence service: reads and writes (evidence: `src/app/services/data/app-config/app-config.service.ts`)
- Persistence service → Tauri commands: invokes filesystem commands (evidence: `src/app/services/persistence/persistence.service.ts`)
- Tauri commands → Local project files: reads and writes (evidence: `README.md`)
- Scene workspace → Engine viewport: shows viewport (evidence: `README.md`)
- Engine viewport → Engine bridge: controls viewport (evidence: `README.md`)
- Engine bridge → Tauri commands: invokes engine commands (evidence: `src/app/services/engine/bridge/engine-bridge.service.ts`)
- Tauri commands → Engine process host: spawns and embeds (evidence: `README.md`)
- Engine process host → OssianForge engine: launches and positions (evidence: `README.md`)
- Engine IPC link → OssianForge engine: exchanges IPC (evidence: `src-tauri/src/engine_link.rs`)
- Settings pages → App configuration: configures preferences (evidence: `README.md`)
- Script editor → File explorer: edits project files (evidence: `README.md`)
- Notifications and log → Persistence service: persists log (evidence: `src/app/services/notifications/notification.service.ts`)
- Logs page → Notifications and log: shows notification log (evidence: `README.md`)
- Git information → Tauri commands: gets repository info (evidence: `README.md`)
- Theme service → App configuration: reads theme fallback (evidence: `src/app/services/theme/theme.service.ts`)
