Architecture diagram
Layered client–server, running on a single machine. The UI never talks to LieOptics directly. Every request flows through one typed API layer to a thin Python service that wraps the client's package. Communication is local only (localhost on one machine); no data leaves the user's computer.
- User to Renderer UI: clicks, edits
- Renderer UI to Typed API client: typed requests
- Typed API client to Thin Python service: HTTP + JSON
- Thin Python service to LieOptics: Python calls
- Typed API client to Electron main process: save / open (IPC)
- Electron main process to Local file system: read / write
External elements
- Local file system: saved lens systems as JSON, read and written by the Electron main process.
- LieOptics repository: client-owned source, consumed as a dependency.
Notes
- Network communication: localhost only; no remote servers.
- Machines: one. UI, service, and backend run on the user's computer.
- Our work: renderer UI, API client, Python service, Electron shell, packaging. Inherited: LieOptics.