-----
## 1.0 🚀 Project Overview
**Project:** Visual Neural Network (NN) Editor
**Description:** A web-based application for visually and programmatically creating, visualizing, testing, and training neural network architectures. The UI/UX should be similar to diagramming tools but specialized for neural networks.
-----
## 2.0 🏛️ Core Architecture: Centralized Data Store
This is the most critical component of the application.
* **Single Source of Truth:** The entire application state, specifically the neural network architecture, will be managed by a single, global, in-memory **JSON object**.
* **Real-time, Bi-Directional Synchronization:** All UI components (Canvas, Code Editor, Structure Panel, Properties Panel) must read from and write to this global JSON store. Any modification from any source (e.g., visual drag-and-drop, property input change, console command, or **direct edit in the code editor**) must update the JSON store, and all other panels must update *immediatel…