This commit transforms the DCI Structure Preview node into a DCI Analysis
node that outputs text content instead of providing visual preview
functionality.
Key changes:
1. Renamed DCIPreviewNode to DCIAnalysisNode in preview_node.py
2. Changed node category from DCI/Preview to DCI/Analysis
3. Modified return type from UI output to STRING output
4. Removed image preview functionality and background color options
5. Updated all node registrations and display names
6. Updated documentation and example workflows
7. Updated test files to reflect the new functionality
8. Removed obsolete preview-specific test files
The new DCI Analysis node provides detailed text-based analysis of DCI
file contents, including file structure, image metadata, and statistics,
making it more suitable for programmatic processing and debugging.
重构:将DCI结构预览节点替换为DCI分析节点
此提交将DCI结构预览节点转换为DCI分析节点,输出文本内容而不是
提供可视化预览功能。
主要变更:
1. 在preview_node.py中将DCIPreviewNode重命名为DCIAnalysisNode
2. 将节点类别从DCI/Preview更改为DCI/Analysis
3. 将返回类型从UI输出修改为STRING输出
4. 移除图像预览功能和背景颜色选项
5. 更新所有节点注册和显示名称
6. 更新文档和示例工作流程
7. 更新测试文件以反映新功能
8. 删除过时的预览特定测试文件
新的DCI分析节点提供基于文本的DCI文件内容详细分析,包括文件
结构、图像元数据和统计信息,使其更适合程序化处理和调试。
DCIPreviewNode and BinaryFileSaver could not connect to DCIFileNode output
due to data type mismatch. This change unifies all binary data handling
to use the BINARY_DATA type consistently across all nodes.
Changes:
- Change DCIFileNode output type from DCI_BINARY_DATA to BINARY_DATA
- Remove unused DCI_BINARY_DATA type from codebase and documentation
- Update all related documentation and test files
- Add connectivity tests to verify the fix
- Simplify data type system for better node compatibility
This ensures all DCI-related nodes can properly connect and work together
in ComfyUI workflows.