Skip to content

Repository files navigation

Model Studio

Model Studio is a lightweight, client-first UML and SysML diagram editor. It opens directly into the canvas and has no accounts, sessions, database, or backend project persistence.

Data model

  • The active project, diagrams, viewport, and undo/redo stacks are stored temporarily in browser localStorage.
  • Refreshing the page restores the current local workspace.
  • Browser storage is not a durable backup. Use Export → JSON to download a restorable project file.
  • SVG, PNG, PDF, PlantUML, CSV, and XLSX exports are also available.
  • Existing sysml-studio-project JSON files remain import-compatible.

Run

Requires Node.js 22 or newer.

npm install
npm run dev

Open http://localhost:8080. The development server only serves static files; all project editing and persistence happen in the browser.

Commands

npm test
npm run lint
npm run build

Workspace

  • apps/shell — editor shell and local workspace persistence
  • apps/diagram-canvas — diagram rendering, editing, routing, and geometry
  • apps/element-palette — UML/SysML element palette
  • apps/project-explorer — project and diagram navigation
  • apps/import-export — JSON import and downloadable exports
  • packages/model-core — model validation and domain utilities
  • packages/ui — micro-frontend registration utilities
  • services/dev-server — static development host

AI API

Model Studio has no bundled or fallback AI model. Configure the remote, stateless proposal API when starting the server:

AI_API_URL=https://example.com/model-proposals \
AI_API_KEY=optional-bearer-token \
npm run dev

The server only proxies POST /api/ai; it does not store prompts, proposals, projects, or user data. The API must return the proposal object described by services/ai-advisor-service/src/proposalContract.js, either directly or under a proposal property.

Browser storage

The workspace key is model-studio.workspace.v1. History is bounded to 100 entries. If storage is blocked or full, Model Studio displays a warning and the current model can still be downloaded through JSON export.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages