[PR #1178] [MERGED] update v0.0.2: Improved text rendering - removed bold effect while maintaining 1.5x font size for better readability #1436

Closed
opened 2026-02-22 17:57:49 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugins/pull/1178
Author: @sawyer-shi
Created: 9/2/2025
Status: Merged
Merged: 9/4/2025
Merged by: @crazywoola

Base: mainHead: main


📝 Commits (1)

  • 680263b v0.0.2 (2025-09-02): Improved text rendering - removed bold effect while maintaining 1.5x font size for better readability

📊 Changes

1 file changed (+0 additions, -0 deletions)

View changed files

sawyer-shi/mind_map/mind_map-0.0.2.difypkg (+0 -0)

📄 Description

Mind Map Generator Plugin / 思维导图生成插件

English | 中文


English

A powerful mind map generation plugin that intelligently converts Markdown text into beautiful PNG mind maps. Supports both center radial and horizontal layouts, with perfect Chinese environment compatibility.

Version Information

  • Current Version: v0.0.2
  • Release Date: 2025-09-02
  • Compatibility: Dify Plugin Framework
  • Python Version: 3.7+

Version History

  • v0.0.2 (2025-09-02): Improved text rendering - removed bold effect while maintaining 1.5x font size for better readability
  • v0.0.1 (2025-07-29): Initial release with dual layout support and perfect Chinese compatibility

Core Features

Dual Layout Support

mind-map-en-01
  • Center Radial Layout: Classic radial mind maps, perfect for knowledge systems and concept relationships

  • mind-map-en-03
  • Horizontal Layout: Left-to-right hierarchical expansion, ideal for processes and timelines

  • mind-map-en-02

Perfect Chinese Support

  • Built-in 18.79MB Chinese font file ensures perfect rendering in server environments
  • Multi-platform font detection and fallback mechanisms
  • Display effects optimized specifically for Chinese users

Intelligent Optimization

  • Dynamic Size Adjustment: Intelligently adjusts canvas and font size based on content complexity
  • Anti-overlap Algorithm: Advanced collision detection ensures clear, readable text
  • Memory Optimization: 100MB memory limit with efficient resource management

Technical Advantages

  • Local Generation: Mind maps generated locally, no API Key required, no external network or services needed
  • Secure and Reliable: No data leakage, completely offline processing, protecting user privacy
  • Pure Python Implementation: No external dependencies like Node.js required
  • High-Quality Output: 150 DPI PNG images with Bézier curve smooth connections
  • Multi-platform Compatibility: Full support for Windows, macOS, and Linux

Developer Information


中文

一个功能强大的思维导图生成插件,能够将Markdown文本智能转换为精美的PNG思维导图。支持中心辐射和水平展开两种经典布局,完美适配中文环境。

版本信息

  • 当前版本: v0.0.2
  • 发布日期: 2025-09-02
  • 兼容性: Dify Plugin Framework
  • Python版本: 3.7+

版本历史

  • v0.0.2 (2025-09-02): 改进文本渲染效果 - 移除加粗效果,保持1.5倍字体大小,提升可读性
  • v0.0.1 (2025-07-29): 初始版本,支持双布局和完美中文兼容性

核心特性

双布局支持

mind-map-zh-01
  • 中心辐射布局: 经典的放射状思维导图,适合知识体系和概念关系展示

  • mind-map-zh-03
  • 水平展开布局: 从左到右的层次展开,适合流程和时间线展示

  • mind-map-zh-02

完美中文支持

  • 内置18.79MB中文字体文件,确保服务器环境完美渲染
  • 支持多平台字体检测和回退机制
  • 专为中文用户优化的显示效果

智能优化

  • 动态大小调整: 根据内容复杂度智能调整画布和字体大小
  • 防重叠算法: 先进的碰撞检测,确保文本清晰可读
  • 内存优化: 100MB内存限制,高效资源管理

技术优势

  • 本地生成: 脑图在本地生成,无需API Key,无需链接外部网络或服务
  • 安全可靠: 数据不外泄,完全离线处理,保护用户隐私
  • 纯Python实现: 无需Node.js等外部依赖
  • 高质量输出: 150 DPI PNG图像,支持贝塞尔曲线平滑连线
  • 多平台兼容: Windows、macOS、Linux全平台支持

开发者信息


Ready to create beautiful mind maps? / 准备好创建精美的思维导图了吗?

Plugin Submission Form

1. Metadata

  • Plugin Author:
  • Plugin Name:
  • Repository URL:

2. Submission Type

  • New plugin submission
  • Version update for existing plugin

3. Description

4. Checklist

  • I have read and followed the Publish to Dify Marketplace guidelines
  • I have read and comply with the Plugin Developer Agreement
  • I confirm my plugin works properly on both Dify Community Edition and Cloud Version
  • I confirm my plugin has been thoroughly tested for completeness and functionality
  • My plugin brings new value to Dify

5. Documentation Checklist

Please confirm that your plugin README includes all necessary information:

  • Step-by-step setup instructions
  • Detailed usage instructions
  • All required APIs and credentials are clearly listed
  • Connection requirements and configuration details
  • Link to the repository for the plugin source code

6. Privacy Protection Information

Based on Dify Plugin Privacy Protection Guidelines:

Data Collection

Privacy Policy

  • I confirm that I have prepared and included a privacy policy in my plugin package based on the Plugin Privacy Protection Guidelines

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugins/pull/1178 **Author:** [@sawyer-shi](https://github.com/sawyer-shi) **Created:** 9/2/2025 **Status:** ✅ Merged **Merged:** 9/4/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`680263b`](https://github.com/langgenius/dify-plugins/commit/680263b3cc0b75b18aee6a96543d83d494f5944a) **v0.0.2** (2025-09-02): Improved text rendering - removed bold effect while maintaining 1.5x font size for better readability ### 📊 Changes **1 file changed** (+0 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `sawyer-shi/mind_map/mind_map-0.0.2.difypkg` (+0 -0) </details> ### 📄 Description # Mind Map Generator Plugin / 思维导图生成插件 [English](#english) | [中文](#中文) --- ## English A powerful mind map generation plugin that intelligently converts Markdown text into beautiful PNG mind maps. Supports both center radial and horizontal layouts, with perfect Chinese environment compatibility. ### Version Information - **Current Version**: v0.0.2 - **Release Date**: 2025-09-02 - **Compatibility**: Dify Plugin Framework - **Python Version**: 3.7+ #### Version History - **v0.0.2** (2025-09-02): Improved text rendering - removed bold effect while maintaining 1.5x font size for better readability - **v0.0.1** (2025-07-29): Initial release with dual layout support and perfect Chinese compatibility ### Core Features #### Dual Layout Support <img width="1932" height="925" alt="mind-map-en-01" src="https://github.com/user-attachments/assets/7ad41fac-eb86-419e-a477-25ce50b1a12e" /> - **Center Radial Layout**: Classic radial mind maps, perfect for knowledge systems and concept relationships - <img width="2985" height="2385" alt="mind-map-en-03" src="https://github.com/user-attachments/assets/3d3f8d39-b50a-4b27-b0b1-9269a74ef2fa" /> - **Horizontal Layout**: Left-to-right hierarchical expansion, ideal for processes and timelines - <img width="3585" height="2085" alt="mind-map-en-02" src="https://github.com/user-attachments/assets/e5812438-80f3-4615-9072-48f90f3a7538" /> #### Perfect Chinese Support - Built-in 18.79MB Chinese font file ensures perfect rendering in server environments - Multi-platform font detection and fallback mechanisms - Display effects optimized specifically for Chinese users #### Intelligent Optimization - **Dynamic Size Adjustment**: Intelligently adjusts canvas and font size based on content complexity - **Anti-overlap Algorithm**: Advanced collision detection ensures clear, readable text - **Memory Optimization**: 100MB memory limit with efficient resource management #### Technical Advantages - **Local Generation**: Mind maps generated locally, no API Key required, no external network or services needed - **Secure and Reliable**: No data leakage, completely offline processing, protecting user privacy - **Pure Python Implementation**: No external dependencies like Node.js required - **High-Quality Output**: 150 DPI PNG images with Bézier curve smooth connections - **Multi-platform Compatibility**: Full support for Windows, macOS, and Linux ### Developer Information - **Author**: [@sawyer-shi](https://github.com/sawyer-shi) - **Email**: sawyer36@foxmail.com - **License**: MIT License - **Support**: Through Dify platform and GitHub Issues --- ## 中文 一个功能强大的思维导图生成插件,能够将Markdown文本智能转换为精美的PNG思维导图。支持中心辐射和水平展开两种经典布局,完美适配中文环境。 ### 版本信息 - **当前版本**: v0.0.2 - **发布日期**: 2025-09-02 - **兼容性**: Dify Plugin Framework - **Python版本**: 3.7+ #### 版本历史 - **v0.0.2** (2025-09-02): 改进文本渲染效果 - 移除加粗效果,保持1.5倍字体大小,提升可读性 - **v0.0.1** (2025-07-29): 初始版本,支持双布局和完美中文兼容性 ### 核心特性 #### 双布局支持 <img width="1980" height="798" alt="mind-map-zh-01" src="https://github.com/user-attachments/assets/a2fdb4d6-ccc0-4292-bd98-2e7b3db6975b" /> - **中心辐射布局**: 经典的放射状思维导图,适合知识体系和概念关系展示 - <img width="2985" height="2385" alt="mind-map-zh-03" src="https://github.com/user-attachments/assets/10bc896a-0837-4631-a92f-f55d50501212" /> - **水平展开布局**: 从左到右的层次展开,适合流程和时间线展示 - <img width="3585" height="2085" alt="mind-map-zh-02" src="https://github.com/user-attachments/assets/f8f1fb2e-8708-40d3-9da0-2bf57a0d579e" /> #### 完美中文支持 - 内置18.79MB中文字体文件,确保服务器环境完美渲染 - 支持多平台字体检测和回退机制 - 专为中文用户优化的显示效果 #### 智能优化 - **动态大小调整**: 根据内容复杂度智能调整画布和字体大小 - **防重叠算法**: 先进的碰撞检测,确保文本清晰可读 - **内存优化**: 100MB内存限制,高效资源管理 #### 技术优势 - **本地生成**: 脑图在本地生成,无需API Key,无需链接外部网络或服务 - **安全可靠**: 数据不外泄,完全离线处理,保护用户隐私 - **纯Python实现**: 无需Node.js等外部依赖 - **高质量输出**: 150 DPI PNG图像,支持贝塞尔曲线平滑连线 - **多平台兼容**: Windows、macOS、Linux全平台支持 ### 开发者信息 - **作者**: [@sawyer-shi](https://github.com/sawyer-shi) - **邮箱**: sawyer36@foxmail.com - **许可证**: MIT License - **支持**: 通过Dify平台和GitHub Issues --- **Ready to create beautiful mind maps? / 准备好创建精美的思维导图了吗?** # Plugin Submission Form ## 1. Metadata <!-- Please provide the following metadata of your plugin to make it easier for the reviewer to check the changes. - Plugin Author : The author of the plugin which is defined in your manifest.yaml - Plugin Name : The name of the plugin which is defined in your manifest.yaml - Repository URL: The URL of the repository where the source code of your plugin is hosted --> - **Plugin Author**: - **Plugin Name**: - **Repository URL**: ## 2. Submission Type - [ ] New plugin submission - [x] Version update for existing plugin ## 3. Description <!-- Please briefly describe the purpose of the new plugin or the updates made to the existing plugin --> ## 4. Checklist - [x] I have read and followed the Publish to Dify Marketplace guidelines - [x] I have read and comply with the Plugin Developer Agreement - [x] I confirm my plugin works properly on both Dify Community Edition and Cloud Version - [x] I confirm my plugin has been thoroughly tested for completeness and functionality - [x] My plugin brings new value to Dify ## 5. Documentation Checklist Please confirm that your plugin README includes all necessary information: - [x] Step-by-step setup instructions - [x] Detailed usage instructions - [x] All required APIs and credentials are clearly listed - [x] Connection requirements and configuration details - [x] Link to the repository for the plugin source code ## 6. Privacy Protection Information Based on Dify Plugin Privacy Protection [Guidelines](https://docs.dify.ai/plugins/publish-plugins/publish-to-dify-marketplace/plugin-privacy-protection-guidelines): ### Data Collection <!-- Does your plugin collect any user personal data? If yes, please list what types of user personal data are being collected according to the Plugin Privacy Protection Guidelines (for example: Email address, IP address, Age, etc) --> ### Privacy Policy - [x] I confirm that I have prepared and included a privacy policy in my plugin package based on the Plugin Privacy Protection Guidelines --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 17:57:49 -05:00
yindo closed this issue 2026-02-22 17:57:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugins#1436