mirror of
https://github.com/langgenius/dify-plugins.git
synced 2026-07-22 01:55:36 -04:00
[PR #969] [MERGED] 🧠 Mind Map Generator Plugin - Dify Marketplace Submission #1291
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-plugins/pull/969
Author: @sawyer-shi
Created: 7/28/2025
Status: ✅ Merged
Merged: 8/27/2025
Merged by: @LogicOber
Base:
main← Head:main📝 Commits (2)
1d0d9f3🧠 Mind Map Generator Plugin - Dify Marketplace Submissiondffbab4update the readme file.📊 Changes
1 file changed (+0 additions, -0 deletions)
View changed files
➕
sawyer-shi/mind_map/mind_map.difypkg(+0 -0)📄 Description
📋 Pull Request Summary
Plugin Name: Mind Map Generator Plugin
Version: v0.0.1
Type: Tool Plugin
Author: @sawyer-shi
This PR submits the Mind Map Generator Plugin for inclusion in the Dify Marketplace. The plugin provides intelligent mind map generation capabilities, converting Markdown text into beautiful PNG mind maps with dual layout support. 🎯 Plugin Overview
What does this plugin do?
The Mind Map Generator Plugin transforms Markdown text into visually appealing mind maps with two distinct layout options: Center Radial Layout: Classic radial mind maps perfect for knowledge systems and concept relationships Horizontal Layout: Left-to-right hierarchical expansion ideal for processes and timelines Key Features
✅ Dual Layout Support: Center radial and horizontal expansion layouts ✅ Perfect Chinese Support: Embedded 18.79MB Chinese font for server environments ✅ Dynamic Sizing: Intelligent canvas and font size adjustment based on content complexity ✅ Memory Optimized: 100MB memory limit with smart resource management ✅ Pure Python Implementation: No external dependencies (Node.js, etc.) ✅ High-Quality Output: 150 DPI PNG images with smooth Bézier curves ✅ Multi-Platform Compatible: Windows, macOS, Linux font detection and fallback 🛠️ Technical Specifications
Core Technology Stack
Apply to README.md
System Requirements
Memory: 100MB RAM (configurable limit)
Storage: ~13MB plugin package
Python: 3.7+ (optimized for 3.12)
Architecture: x64 (amd64)
Performance Metrics
Small mind maps (< 20 nodes): < 2 seconds
Medium mind maps (20-50 nodes): 2-5 seconds
Large mind maps (50-100 nodes): 5-10 seconds
Maximum capacity: 200+ nodes supported
📁 Plugin Structure
Apply to README.md
🔧 Plugin Configuration
Input Parameters
Parameter Type Required Description
markdown_content string ✅ Markdown formatted text content layout_type string ✅ Layout type: center or horizontal filename string ❌ Custom output filename (without extension) Output
Format: PNG image
Resolution: 150 DPI
Max Dimensions: 3600×2400 pixels
File Size: Typically 200KB-2MB
🎨 Layout Examples
Center Radial Layout
Apply to README.md
Horizontal Layout
Apply to README.md
🔒 Privacy & Security
Data Processing Declaration
Local Processing Only: All operations within Dify platform sandbox No External Connections: Zero network access or third-party API calls Temporary Files: Auto-cleanup after processing
Memory Management: Strict 100MB limit with automatic resource release Compliance
✅ GDPR Compliant: Minimal data processing principle ✅ No Personal Data Collection: Only processes user-provided Markdown text ✅ Transparent Processing: Complete privacy policy in English and Chinese ✅ Open Source: Full source code available for audit 📚 Documentation
Comprehensive Documentation Included
README.md: Complete technical documentation with usage examples PRIVACY.md: Bilingual privacy policy (English/Chinese) Installation Guide: Step-by-step setup instructions API Reference: Detailed parameter descriptions
Troubleshooting: Common issues and solutions
Developer Information
GitHub: @sawyer-shi
Email: sawyer36@foxmail.com
License: MIT License
Support: Available through Dify platform and GitHub issues 🧪 Testing & Quality Assurance
Pre-submission Testing
✅ Functionality Testing: All features tested across different content types ✅ Performance Testing: Memory usage and processing time validated ✅ Compatibility Testing: Verified on Windows, macOS, Linux environments ✅ Error Handling: Comprehensive error messages and fallback mechanisms ✅ Chinese Font Testing: Verified proper Chinese character rendering Code Quality
✅ Clean Architecture: Modular design with separation of concerns ✅ Error Handling: Robust exception handling and user feedback ✅ Resource Management: Proper cleanup and memory management ✅ Documentation: Comprehensive inline comments and docstrings 🚀 Deployment Information
Plugin Package Details
Package Size: 12.29 MB
Compression: Optimized for marketplace distribution Dependencies: All dependencies specified in requirements.txt Installation: One-click installation through Dify Marketplace Version History
v0.0.1 (2025-07-29): Initial marketplace submission Dual layout support (center radial + horizontal)
Embedded Chinese font for server compatibility
100MB memory optimization
Comprehensive bilingual documentation
Line thickness optimization for better visual clarity ✅ Submission Checklist
[x] Plugin Functionality: Core features implemented and tested [x] Documentation: Complete README and privacy policy [x] Code Quality: Clean, well-documented, and maintainable code [x] Performance: Optimized for memory usage and processing speed [x] Compatibility: Multi-platform support with font fallbacks [x] Security: No external dependencies, local processing only [x] Privacy Compliance: Comprehensive privacy policy in multiple languages [x] User Experience: Intuitive parameters and helpful error messages [x] Package Optimization: Minimal package size with maximum functionality 🎯 Value Proposition
This plugin fills a crucial gap in the Dify ecosystem by providing: Visual Communication: Transform text-based information into visual mind maps Multi-Cultural Support: Perfect Chinese rendering for global users Professional Quality: High-resolution output suitable for presentations and documentation Developer Friendly: Pure Python implementation with no complex dependencies Resource Efficient: Optimized memory usage suitable for various deployment scenarios 📞 Support & Maintenance
Commitment to Excellence: We are committed to maintaining and improving this plugin based on community feedback and evolving needs. Contact Information:
Primary: GitHub @sawyer-shi
Email: sawyer36@foxmail.com
Issues: Plugin repository issue tracker
Documentation: Comprehensive guides and troubleshooting Ready for Review: This plugin is production-ready and awaiting marketplace approval. Thank you for considering the Mind Map Generator Plugin for the Dify Marketplace! 🚀
Plugin Submission Form
1. Metadata
2. Submission Type
3. Description
4. Checklist
5. Documentation Checklist
Please confirm that your plugin README includes all necessary information:
6. Privacy Protection Information
Based on Dify Plugin Privacy Protection Guidelines:
Data Collection
Privacy Policy
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.