Commit Graph

6 Commits

Author SHA1 Message Date
bymyself
9a93764cc8 [refactor] Extract canvas transform sync to dedicated composables
- Create useCanvasTransformSync for clean RAF-based transform synchronization
- Add useTransformSettling for detecting when transforms have stabilized
- Refactor TransformPane to use extracted composables
- Update GraphCanvas to use new transform sync composable
- Add VueNodeDebugPanel for transform visualization and debugging
- Improve separation of concerns and reusability

This refactoring makes the transform sync logic more maintainable and
testable while preserving all existing functionality.
2025-07-05 21:06:45 -07:00
bymyself
7d7dc091f4 [perf] Optimize TransformPane interaction tracking for better performance
- Add wheel event handling with debounced interaction state
- Use capture phase event listeners to intercept before LiteGraph
- Implement proper cleanup with matching capture phase removal
- Add dedicated wheel timeout separate from pointer interactions
- Simplify interaction state management for better responsiveness

Improves GPU optimization timing and prevents interaction state conflicts.
2025-07-05 03:08:18 -07:00
bymyself
71c3c727cf [feat] Implement LOD (Level of Detail) system for Vue nodes
- Add useLOD composable with 3 zoom-based detail levels (minimal, reduced, full)
- Implement conditional rendering in LGraphNode based on zoom level
- Filter non-essential widgets at reduced LOD (keep interactive controls only)
- Add LOD-specific CSS classes for visual optimizations
- Update performance test thresholds for CI environment compatibility
- Fix lint warnings in QuadTreeDebugSection component

Performance impact: ~80% DOM element reduction at low zoom levels
Zoom thresholds: 0.4 (minimal), 0.8 (full) for optimal quality/performance balance
2025-07-05 03:08:18 -07:00
bymyself
cd3296f49b [feat] Add viewport debug overlay for TransformPane
- Add optional red border overlay showing viewport bounds with 10px inset
- Display viewport dimensions and device pixel ratio in overlay
- Enable via "Show Performance Overlay" checkbox in debug panel
- Helps visualize actual culling boundaries during development
2025-07-05 03:08:18 -07:00
bymyself
992d79b52f [feat] Vue node lifecycle management implementation
Implements reactive position tracking, viewport culling, and event-driven
node management for Vue-based node rendering system.

Ready for demo and developer handoff.
2025-07-05 03:08:18 -07:00
bymyself
065e292b1c [feat] Add TransformPane for Vue node coordinate synchronization 2025-07-05 03:08:18 -07:00