# operaton/operaton-modeler architecture

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

- Interactive diagram: https://gitdiagram.com/operaton/operaton-modeler
- Repository: https://github.com/operaton/operaton-modeler

## Overview

Operaton Modeler is an Electron desktop application for modeling BPMN, DMN, and forms, with CMMN and platform integrations also represented in the source tree. The user-facing workflow is to open or create a model, edit it in a document tab, and use supporting panels, plugins, or deployment tools. The graph preserves these distinct capabilities, but many implementation files were not sampled; edges are limited to relationships visible in the excerpts, SOURCE INDEX, or README.

Main entry points: [`app/lib/index.js`](https://github.com/operaton/operaton-modeler/blob/develop/app/lib/index.js) (Electron shell), [`client/src/index.js`](https://github.com/operaton/operaton-modeler/blob/develop/client/src/index.js) (Renderer bootstrap), [`client/src/app/App.js`](https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/App.js) (Editor application), [`app/lib/plugins.js`](https://github.com/operaton/operaton-modeler/blob/develop/app/lib/plugins.js) (Plugin host)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_desktop["Desktop runtime"]
  node_electron["Electron shell<br/>[index.js]"]
  node_renderer["Renderer bootstrap<br/>[index.js]"]
  node_remote["Backend bridge<br/>[index.js]"]
  node_fileops["File operations<br/>[file-system.js]"]
  node_workspace["Workspace state<br/>[workspace.js]"]
end

subgraph group_editor["Modeling workspace"]
  node_appui["Editor application<br/>[App.js]"]
  node_bpmn["BPMN editor<br/>[BpmnEditor.js]"]
  node_cloudbpmn["Cloud BPMN editor<br/>[BpmnEditor.js]"]
  node_dmn["DMN editor<br/>[DmnEditor.js]"]
  node_cmmn["CMMN editor<br/>[CmmnEditor.js]"]
  node_forms["Form editor<br/>[FormEditor.js]"]
  node_jsonxml["JSON and XML editors<br/>[JSONEditor.js]"]
  node_panels["Status and panels<br/>[Panel.js]"]
  node_linting["Form linting<br/>[FormLinter.js]"]
end

subgraph group_extensions["Modeling extensions"]
  node_camundaplugin["Camunda tools<br/>[CamundaPlugin.js]"]
  node_zeebeplugin["Zeebe tools<br/>[ZeebePlugin.js]"]
  node_templates["Element templates"]
  node_pluginhost["Plugin host<br/>[plugins.js]"]
end

subgraph group_integrations["Platform integrations"]
  node_zeebeapi["Zeebe API<br/>[zeebe-api.js]"]
  node_connector["Connector templates<br/>[index.js]"]
  node_engineprofile["Engine profile<br/>[EngineProfile.js]"]
  node_metrics["Model metrics<br/>[userTasks.js]"]
  node_analytics["Usage analytics<br/>[MixpanelHandler.js]"]
end

node_user(("Modeler user"))
node_mixpanel["Mixpanel"]

node_user -.->|"uses"| node_renderer
node_electron -->|"bridges to"| node_renderer
node_renderer -->|"loads"| node_remote
node_renderer -->|"renders"| node_appui
node_electron -->|"uses"| node_fileops
node_electron -->|"uses"| node_workspace
node_electron -->|"loads"| node_pluginhost
node_appui -->|"renders"| node_panels
node_appui -->|"hosts"| node_pluginhost
node_camundaplugin -.->|"uses"| node_zeebeapi
node_analytics -->|"tracks with"| node_mixpanel

click node_electron "https://github.com/operaton/operaton-modeler/blob/develop/app/lib/index.js"
click node_renderer "https://github.com/operaton/operaton-modeler/blob/develop/client/src/index.js"
click node_remote "https://github.com/operaton/operaton-modeler/blob/develop/client/src/remote/index.js"
click node_fileops "https://github.com/operaton/operaton-modeler/blob/develop/app/lib/file-system.js"
click node_workspace "https://github.com/operaton/operaton-modeler/blob/develop/app/lib/workspace.js"
click node_appui "https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/App.js"
click node_bpmn "https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/bpmn/BpmnEditor.js"
click node_cloudbpmn "https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/cloud-bpmn/BpmnEditor.js"
click node_dmn "https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/dmn/DmnEditor.js"
click node_cmmn "https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/cmmn/CmmnEditor.js"
click node_forms "https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/form/FormEditor.js"
click node_jsonxml "https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/json/JSONEditor.js"
click node_panels "https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/panel/Panel.js"
click node_linting "https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/form/linting/FormLinter.js"
click node_camundaplugin "https://github.com/operaton/operaton-modeler/blob/develop/client/src/plugins/camunda-plugin/CamundaPlugin.js"
click node_zeebeplugin "https://github.com/operaton/operaton-modeler/blob/develop/client/src/plugins/zeebe-plugin/ZeebePlugin.js"
click node_templates "https://github.com/operaton/operaton-modeler/blob/develop/client/src/plugins/element-templates-modal/ElementTemplatesModal.js"
click node_pluginhost "https://github.com/operaton/operaton-modeler/blob/develop/app/lib/plugins.js"
click node_zeebeapi "https://github.com/operaton/operaton-modeler/blob/develop/app/lib/zeebe-api/zeebe-api.js"
click node_connector "https://github.com/operaton/operaton-modeler/blob/develop/app/lib/connector-templates/index.js"
click node_engineprofile "https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/EngineProfile.js"
click node_metrics "https://github.com/operaton/operaton-modeler/blob/develop/client/src/util/metrics/userTasks.js"
click node_analytics "https://github.com/operaton/operaton-modeler/blob/develop/client/src/plugins/user-journey-statistics/MixpanelHandler.js"

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_electron,node_renderer,node_remote,node_fileops,node_workspace,node_user toneBlue
class node_appui,node_bpmn,node_cloudbpmn,node_dmn,node_cmmn,node_forms,node_jsonxml,node_panels,node_linting toneAmber
class node_camundaplugin,node_zeebeplugin,node_templates,node_pluginhost toneMint
class node_zeebeapi,node_connector,node_engineprofile,node_metrics,node_analytics toneRose
class node_mixpanel toneIndigo
```

## Components

### Desktop runtime

- [Electron shell](https://github.com/operaton/operaton-modeler/blob/develop/app/lib/index.js): `app/lib/index.js`
- [Renderer bootstrap](https://github.com/operaton/operaton-modeler/blob/develop/client/src/index.js): `client/src/index.js`
- [Backend bridge](https://github.com/operaton/operaton-modeler/blob/develop/client/src/remote/index.js): `client/src/remote/index.js`
- [File operations](https://github.com/operaton/operaton-modeler/blob/develop/app/lib/file-system.js): `app/lib/file-system.js`
- [Workspace state](https://github.com/operaton/operaton-modeler/blob/develop/app/lib/workspace.js): `app/lib/workspace.js`

### Modeling workspace

- [Editor application](https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/App.js): `client/src/app/App.js`
- [BPMN editor](https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/bpmn/BpmnEditor.js): `client/src/app/tabs/bpmn/BpmnEditor.js`
- [Cloud BPMN editor](https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/cloud-bpmn/BpmnEditor.js): `client/src/app/tabs/cloud-bpmn/BpmnEditor.js`
- [DMN editor](https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/dmn/DmnEditor.js): `client/src/app/tabs/dmn/DmnEditor.js`
- [CMMN editor](https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/cmmn/CmmnEditor.js): `client/src/app/tabs/cmmn/CmmnEditor.js`
- [Form editor](https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/form/FormEditor.js): `client/src/app/tabs/form/FormEditor.js`
- [JSON and XML editors](https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/json/JSONEditor.js): `client/src/app/tabs/json/JSONEditor.js`
- [Status and panels](https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/panel/Panel.js): `client/src/app/panel/Panel.js`
- [Form linting](https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/form/linting/FormLinter.js): `client/src/app/tabs/form/linting/FormLinter.js`

### Modeling extensions

- [Camunda tools](https://github.com/operaton/operaton-modeler/blob/develop/client/src/plugins/camunda-plugin/CamundaPlugin.js): `client/src/plugins/camunda-plugin/CamundaPlugin.js`
- [Zeebe tools](https://github.com/operaton/operaton-modeler/blob/develop/client/src/plugins/zeebe-plugin/ZeebePlugin.js): `client/src/plugins/zeebe-plugin/ZeebePlugin.js`
- [Element templates](https://github.com/operaton/operaton-modeler/blob/develop/client/src/plugins/element-templates-modal/ElementTemplatesModal.js): `client/src/plugins/element-templates-modal/ElementTemplatesModal.js`
- [Plugin host](https://github.com/operaton/operaton-modeler/blob/develop/app/lib/plugins.js): `app/lib/plugins.js`

### Platform integrations

- [Zeebe API](https://github.com/operaton/operaton-modeler/blob/develop/app/lib/zeebe-api/zeebe-api.js): `app/lib/zeebe-api/zeebe-api.js`
- [Connector templates](https://github.com/operaton/operaton-modeler/blob/develop/app/lib/connector-templates/index.js): `app/lib/connector-templates/index.js`
- [Engine profile](https://github.com/operaton/operaton-modeler/blob/develop/client/src/app/tabs/EngineProfile.js): `client/src/app/tabs/EngineProfile.js`
- [Model metrics](https://github.com/operaton/operaton-modeler/blob/develop/client/src/util/metrics/userTasks.js): `client/src/util/metrics/userTasks.js`
- [Usage analytics](https://github.com/operaton/operaton-modeler/blob/develop/client/src/plugins/user-journey-statistics/MixpanelHandler.js): `client/src/plugins/user-journey-statistics/MixpanelHandler.js`

### Other components

- **Modeler user**
- **Mixpanel**

## Connections

- Modeler user → Renderer bootstrap: uses
- Electron shell → Renderer bootstrap: bridges to (evidence: `app/lib/index.js`)
- Renderer bootstrap → Backend bridge: loads (evidence: `client/src/index.js`)
- Renderer bootstrap → Editor application: renders (evidence: `client/src/index.js`)
- Electron shell → File operations: uses (evidence: `app/lib/index.js`)
- Electron shell → Workspace state: uses (evidence: `app/lib/index.js`)
- Electron shell → Plugin host: loads (evidence: `app/lib/index.js`)
- Editor application → Status and panels: renders (evidence: `client/src/app/App.js`)
- Editor application → Plugin host: hosts (evidence: `client/src/app/App.js`)
- Camunda tools → Zeebe API: uses
- Usage analytics → Mixpanel: tracks with (evidence: `client/src/plugins/user-journey-statistics/MixpanelHandler.js`)
