3 Commits

Author SHA1 Message Date
Ilya Ashikhmin
22ad8b3e0c feat(calc): add mock flow-distribution solver with tests
- Deterministic heuristic solver: topo sweep with downstream-demand-weighted
  splits at junctions, supply/demand conservation, cycle tolerance
- Reports per-edge signed flow, node inflow/imbalance, balance + warnings, maxFlow
- 8 unit tests: line, split, merge, equal-split, unbalanced, cycle, empty

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 23:13:31 +02:00
Ilya Ashikhmin
e28a0ef074 feat(model): add domain model — mediums, properties, catalogues, node/edge types
- Relation registry with medium & direction connection validation (canConnect)
- Color schemes (default/dark/blueprint/high-contrast) keyed by medium
- Typed property schema (string/int/float/enum/catalogueItem(s)/color/list)
  with grouping and pure coercion/validation
- Catalogues (pipes/pumps/materials) with item attributes
- Node type library with SVG icon set + port layouts
- Edge style presets with arrow/circle/diamond/bar marker specs
- 25 unit tests covering validation, coercion and lookups

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 23:11:42 +02:00
Ilya Ashikhmin
3758164635 chore: scaffold Tauri v2 + React + Vite project and add implementation plan
- Scaffold Vite React-TS frontend and Tauri v2 shell
- Install JointJS (@joint/core), Zustand, Vitest + Testing Library
- Configure Vite (fixed port 1420) and Vitest (jsdom, coverage)
- Add docs/plan with milestone checklist and JointJS rationale

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 23:07:28 +02:00