Commit Graph

5 Commits

Author SHA1 Message Date
alivender 1c75aa621a feat: Enhance equipment components with pin functionality and constraint management
- Added pin support to MechanicalButton, enabling pin-click events and componentId handling.
- Updated Pin component to manage constraint states and colors dynamically.
- Integrated SMT_LED with pin functionality, allowing LED state to respond to constraints.
- Enhanced Wire component to reflect constraint colors and manage wire states based on pin connections.
- Introduced wireManager for managing wire states and constraints.
- Implemented a constraints store for managing and notifying constraint state changes across components.
- Updated component configuration to remove appearance options and clarify constraint descriptions.
- Improved ProjectView to handle optional chaining for props and ensure robust data handling.
- Initialized constraint communication in main application entry point.
2025-04-29 11:05:30 +08:00
alivender 10db7c67bf feat: Pin移动连线也跟着移动 2025-04-27 14:08:05 +08:00
alivender b3a5342d6b feat: enhance DiagramCanvas and Pin components with wire creation and tooltip functionality
- Added wire creation logic in DiagramCanvas.vue with mouse tracking and event handling.
- Implemented tooltip display for pins in Pin.vue with detailed information on hover.
- Updated ProjectView.vue to handle wire creation and deletion events.
- Refactored Wire.vue to support dynamic path rendering based on routing mode.
2025-04-26 21:53:33 +08:00
alivender bc4f44ecaa feat: remake most of forntend 2025-04-26 19:59:35 +08:00
alivender cfd8769e9b feat: add project view 2025-04-25 16:11:53 +08:00