Masonmason 080eb5b887 Add intelligent pipeline topology analysis and comprehensive UI framework
Major Features:
• Advanced topological sorting algorithm with cycle detection and resolution
• Intelligent pipeline optimization with parallelization analysis
• Critical path analysis and performance metrics calculation
• Comprehensive .mflow file converter for seamless UI-to-API integration
• Complete modular UI framework with node-based pipeline editor
• Enhanced model node properties (scpu_fw_path, ncpu_fw_path)
• Professional output formatting without emoji decorations

Technical Improvements:
• Graph theory algorithms (DFS, BFS, topological sort)
• Automatic dependency resolution and conflict prevention
• Multi-criteria pipeline optimization
• Real-time stage count calculation and validation
• Comprehensive configuration validation and error handling
• Modular architecture with clean separation of concerns

New Components:
• MFlow converter with topology analysis (core/functions/mflow_converter.py)
• Complete node system with exact property matching
• Pipeline editor with visual node connections
• Performance estimation and dongle management panels
• Comprehensive test suite and demonstration scripts

🤖 Generated with Claude Code (https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 12:58:47 +08:00

28 lines
720 B
Python

"""
Utility functions and helper modules for the Cluster4NPU application.
This module provides various utility functions, helpers, and common operations
that are used throughout the application.
Available Utilities:
- file_utils: File operations and I/O helpers (future)
- ui_utils: UI-related utility functions (future)
Usage:
from cluster4npu_ui.utils import file_utils, ui_utils
# File operations
pipeline_data = file_utils.load_pipeline('path/to/file.mflow')
# UI helpers
ui_utils.show_error_dialog(parent, "Error message")
"""
# Import utilities as they are implemented
# from . import file_utils
# from . import ui_utils
__all__ = [
# "file_utils",
# "ui_utils"
]