# yaqoobalghaithi/automatastudio architecture

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

- Interactive diagram: https://gitdiagram.com/yaqoobalghaithi/automatastudio
- Repository: https://github.com/yaqoobalghaithi/automatastudio

## Overview

AutomataStudio is an Android application organized around automata projects, editing, simulation, and algorithm operations, with local persistence and settings/export features. The README provides a directory tree but no source excerpts or explicit call, data-flow, or navigation relationships. Accordingly, the graph maps the documented product areas and runtime components without guessing how they connect or claiming an inspected user-to-result workflow.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App entry and UI"]
  node_main["Main activity"]
  node_navigation["App navigation"]
  node_ui_theme["UI theme"]
  node_ui_components["UI components"]
end

subgraph group_automata["Automata domain"]
  node_automaton["Automaton model"]
  node_state["State model"]
  node_transition["Transition model"]
  node_validator["Automaton validation"]
  node_simulator["Automaton simulation"]
  node_epsilon_closure["Epsilon closure"]
  node_epsilon_removal["Epsilon removal"]
  node_nfa_dfa["NFA to DFA"]
  node_reachability["Reachability"]
  node_minimizer["DFA minimizer"]
end

subgraph group_projects["Project persistence"]
  node_database[("Automata database")]
  node_project_dao["Project DAO"]
  node_project_entity["Project entity"]
  node_project_repository["Project repository"]
end

subgraph group_features["Product features"]
  node_home["Home feature"]
  node_project["Project feature"]
  node_editor["Editor feature"]
  node_simulation["Simulation feature"]
  node_algorithms["Algorithms feature"]
  node_export["Export feature"]
  node_settings["Settings feature"]
end

node_user(("User"))

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_main,node_navigation,node_ui_theme,node_ui_components,node_user toneBlue
class node_automaton,node_state,node_transition,node_validator,node_simulator,node_epsilon_closure,node_epsilon_removal,node_nfa_dfa,node_reachability,node_minimizer toneAmber
class node_database,node_project_dao,node_project_entity,node_project_repository toneMint
class node_home,node_project,node_editor,node_simulation,node_algorithms,node_export,node_settings toneRose
```

## Components

### App entry and UI

- **Main activity**
- **App navigation**
- **UI theme**
- **UI components**

### Automata domain

- **Automaton model**
- **State model**
- **Transition model**
- **Automaton validation**
- **Automaton simulation**
- **Epsilon closure**
- **Epsilon removal**
- **NFA to DFA**
- **Reachability**
- **DFA minimizer**

### Project persistence

- **Automata database**
- **Project DAO**
- **Project entity**
- **Project repository**

### Product features

- **Home feature**
- **Project feature**
- **Editor feature**
- **Simulation feature**
- **Algorithms feature**
- **Export feature**
- **Settings feature**

### Other components

- **User**
