[Enhancement] Migrate lib-diagram code panel from CodeMirror to Monaco — feature parity #26

Closed
opened 2026-04-28 23:01:21 +00:00 by spikerj · 0 comments
Owner

Background

lib-diagram (split Rete diagram + code) uses @acrodata/code-editor.

Goal

Migrate the code panel editor to Monaco while keeping diagram sync flows (sync from/to code) behaving the same.

Feature parity checklist

  • Syntax highlighting / language wiring parity with @codemirror/language-data mappings used for diagram export.
  • ngModel/two‑way binding reliable for sync buttons and external updates.
  • Theme, line wrap, placeholders match current UX.
  • Split layout / 100vh‑style panel sizing unchanged or improved.

Paths

spikersoft-angular/libraries/tools/src/components/diagram/diagram.component.*

## Background **`lib-diagram`** (split Rete diagram + code) uses **`@acrodata/code-editor`**. ## Goal Migrate the code panel editor to **Monaco** while keeping diagram sync flows (sync from/to code) behaving the same. ## Feature parity checklist - [ ] **Syntax highlighting / language wiring** parity with `@codemirror/language-data` mappings used for diagram export. - [ ] **`ngModel`/two‑way binding** reliable for sync buttons and external updates. - [ ] **Theme**, line wrap, placeholders match current UX. - [ ] Split layout / **100vh‑style panel** sizing unchanged or improved. ## Paths `spikersoft-angular/libraries/tools/src/components/diagram/diagram.component.*`
Sign in to join this conversation.