by zhangyu · v0.0.17
Generate left-to-right ribbon mind maps from Markdown with a dark aurora theme by default, border-only animated GIF, lossless WebP, or PNG. PNG remains the default format for maximum compatibility. GIF animates only node borders while text, node interiors, the background, and uniform-brightness ribbon links remain static. Includes classic light mode, unified list parsing, multilingual font fallback across 28 scripts, script-aware wrapping, RTL support, and output-size safeguards.
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
A Dify tool plugin that converts Markdown hierarchy text into a left-to-right ribbon-style mind map image. PNG is the default output format; selectable lossless WebP typically saves approximately 40%, while GIF animates only node borders and uses static, uniform-brightness ribbon links without end-to-end fading.
A Simplified Chinese README is available at readme/README_zh_Hans.md.
Version 0.0.17 renders on a deep near-black background by default, with soft aurora-gradient node borders. Set theme to light to retain the classic white-background appearance.

Select output_format=gif for a real three-second loop. Only node-border pixels animate; text, node interiors, the background, and uniform-brightness ribbon links remain static.

Select output_format=webp for lossless WebP output. It preserves rendered pixels while usually reducing file size; actual savings depend on the mind-map content. PNG remains the default for maximum compatibility.

Install directly from the Dify Marketplace, or download the .difypkg from the distribution directory and install it via Plugins -> Install from local file on a self-hosted Dify. No external API, credential, or network connection is required at runtime - rendering happens entirely inside the Dify plugin runtime.
Since 0.0.16 the package is ~15 MB and installs under Dify's default plugin size limit. If installing an older version from the Marketplace fails with Max file size reached, your Dify instance is falling back to the built-in default plugin-download limit of 15 MB (PLUGIN_MAX_PACKAGE_SIZE not set in .env). Two fixes:
.difypkg from the distribution directory and install it via Plugins -> Install plugin -> Local file - this path is not subject to the marketplace download limit on Dify 1.x.PLUGIN_MAX_PACKAGE_SIZE=52428800 (50 MB, the value recommended in the official .env.example) to your .env, then run docker compose up -d.theme=light retains the classic white-background design.output_format=gif creates a three-second loop: normally 12 frames at 250 ms, automatically reduced to 8 or 6 frames for large images.output_format=webp preserves rendered pixels while usually reducing file size. PNG remains the compatibility-first default, and empty or unsupported format values fall back to PNG.render_scale limits the base bitmap before GIF frames are created; max_blob_mb establishes a pixel/frame budget and verifies encoded bytes, reducing frames or proportionally downscaling when necessary without changing the mind-map hierarchy or layout.1., 1), and ideographic-comma forms) and unordered markers (-, *, +) now use one indentation ladder. Indentation alone determines nesting.Compatibility note: workflows that require the former white-background appearance must set
theme=lightexplicitly.
Under heavy parallel workloads, large renders are serialized by the render gate for stability - later requests queue instead of crashing.
theme.Font licensing clarification: the upstream plugin by sawyer-shi bundles Microsoft's commercial Chinese font (Microsoft YaHei family) inside its package; redistributing Microsoft commercial fonts with a plugin infringes Microsoft's font copyright. This edition has replaced that font with Source Han Sans SC - an open-source typeface of a closely comparable style released under the SIL Open Font License - so this package carries no font-infringement risk whatsoever.
All nine bundled fonts are open-source and freely redistributable, with their license files shipped inside the package:
| Font | License | Renders |
|---|---|---|
| Ribbon Han Sans SC (subset of Source Han Sans SC; default) | SIL OFL 1.1 | Chinese (common set + fallback), Japanese, Korean, Russian |
| Zhuque Fangsong | SIL OFL 1.1 | Chinese, Japanese |
| GNU FreeSerif | GPLv3 + font exception | English, French, German, Spanish, Vietnamese and other Latin-script languages; Russian, Greek, Hebrew, Arabic, Thai, Hindi, Bengali, Tamil, Malayalam, Gujarati, Punjabi, Odia, Sinhala, Amharic, Georgian, Armenian, Dhivehi |
| Noto Sans Lao / Myanmar / Khmer / Telugu / Kannada, Noto Serif Tibetan | SIL OFL 1.1 | Lao / Burmese / Khmer / Telugu / Kannada / Tibetan |
Generate a horizontal ribbon-style mind map image from Markdown hierarchy content.
| Parameter | Required | Description |
|---|---|---|
| markdown_content | Yes | Markdown hierarchy text to render. |
| theme | No | Color theme: dark (default, aurora gradient borders on a deep background) or light (classic white background). |
| font_mode | No | Nine-option font selector; multilingual input is auto-detected, unselected scripts fall back to their default fonts. |
| output_format | No | png (default), webp (lossless, typically approximately 40% smaller), or gif (only node borders animate; text and ribbon links stay static). |
| render_scale | No | Clarity scale; lower values reduce the base bitmap before GIF frame creation. |
| max_blob_mb | No | Output size guard (MB); GIF uses it before frame creation and verifies actual encoded bytes. |
| download_md | No | Also return the Markdown file (legacy). |
| filename | No | Optional image filename; .png, .webp, or .gif is applied according to output_format. |
Every image links to the exact Markdown input that produced it, hosted at zhangyuqz/ribbon-mind-map-assets.

Markdown input: digit_safe_example.md
Chinese baseline - Source Han Sans (default)

Chinese baseline - Zhuque Fangsong

Markdown input: 00_chinese_baseline.md
English - large-scale stress case

Markdown input: 01_english.md
Hebrew + Arabic (right-to-left)

Markdown input: 02_rtl_hebrew_arabic.md
South Asia - 10 scripts

Markdown input: 03_south_asia_10scripts.md
Southeast Asia - Thai / Lao / Myanmar / Khmer / Tibetan

Markdown input: 04_southeast_asia.md
East Asia - Korean + Japanese

Markdown input: 05_east_asia_ko_ja.md
Europe - Russian / Greek / Georgian / Armenian

Markdown input: 06_europe.md
Global mix - 28 scripts in one document

Markdown input: 07_global_28scripts.md
Small sample - global mix

Markdown input: small_07_global.md
Compact, human-readable samples for quick verification - rendered previews not included yet.
Distribution directory (this .difypkg, which contains the full plugin source): github.com/zhangyuqz/dify-plugins/tree/main/zhangyuqz/si_wei_dao_tu_sheng_cheng_qi
Example assets: github.com/zhangyuqz/ribbon-mind-map-assets
The plugin renders Markdown into PNG, lossless WebP, or animated GIF locally inside the Dify plugin runtime. It does not call an external mind map rendering service. See PRIVACY.md for details.
This plugin is an enhanced derivative work based on sawyer-shi/dify-plugins-mind_map, licensed under the Apache License 2.0. The bundled Microsoft commercial Chinese font from the upstream package has been replaced with open-source fonts in this edition (see the font licensing section above).
Original author: sawyer-shi
Enhanced version maintainer: Zhang Yu (GitHub: zhangyuqz)
Apache License 2.0 - dual attribution shipped inside the package: LICENSE (Copyright 2025 sawyer-shi, the original work) and LICENSE-zhangyuqz (Copyright 2026 Zhang Yu (zhangyuqz), this enhanced edition).