Linux 软件免费装
Banner图

BreznFlow

开发者 mifupadev
更新时间 2026年4月17日 21:41
PHP版本: 8.0 及以上
WordPress版本: 6.9
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

svg automation workflow diagram n8n

下载

1.0.2 1.0.3

详情介绍:

BreznFlow turns n8n workflow JSON exports into interactive, zoomable SVG diagrams inside WordPress. Paste your workflow, and the plugin renders every node with brand-accurate colors, connection lines, and clickable detail panels — directly in your posts and pages. The plugin was built for mifupa.com, a personal blog where n8n automations are documented regularly. Screenshots get outdated. Embedding the n8n editor is impractical. BreznFlow solves this: one shortcode, one interactive diagram, zero external dependencies. Learn more At a glance What makes BreznFlow different Display modes Theme system 5 built-in themes: Dark (default), Light, Minimal, Tech, and Brezn. Custom themes can be imported as .breznflow.json files containing 41 CSS color tokens. Themes are selectable globally, per workflow, or per shortcode. Node type registry 86 predefined node types across 10 categories: Triggers, Core Logic, Data Transformation, Databases, Communication, Google, Dev Tools, AI, Storage, and CRM/Marketing. Unknown node types get a deterministic fallback with auto-generated colors — the same unknown type always looks the same. Sensitive data masking Before saving, BreznFlow runs a two-pass sanitization:
  1. All strings pass through WordPress sanitization
  2. Secret detection scans for API keys in URL parameters, sensitive header values (Authorization, Bearer, X-API-Key), and high-entropy condition values
A masking log records every redaction with reason and context — visible in the wizard preview. Action bar Below the diagram, the action bar provides four configurable actions: Each action can be enabled/disabled globally, per workflow, or per shortcode. Embed and Download use dual-gate security (global setting AND per-post permission).

安装:

  1. Download the plugin zip and go to Plugins → Add New → Upload Plugin in your WordPress admin.
  2. Upload the zip file and click Install Now, then Activate.
  3. Go to BreznFlow → Add Workflow.
  4. Paste your n8n workflow JSON, upload a .json file, or fetch from a URL.
  5. Configure display settings (mode, theme, zoom) and preview the diagram.
  6. Publish — use [breznflow id="X"] in any post or page.
The plugin has no build step. All assets are direct JS/CSS files without transpiling or bundling.

屏幕截图:

  • Step 2: configure display settings, theme, and categories
  • Step 3: live SVG preview with security masking summary
  • Frontend diagram with node detail panel open
  • Compact mode showing only the node info box
  • Workflow list in admin with shortcode copy button

升级注意事项:

1.0.3 Fixes duplicate workflow rendering when "Easy Table of Contents" is active, and enables reliable multi-embed of the same workflow in one post. 1.0.2 Fixes WordPress.org plugin review issues: proper asset enqueueing, nonce verification, input sanitization, and output escaping. 1.0.1 Fixes WordPress Plugin Check warnings. No functionality changes. 1.0.0 Initial release.

常见问题:

Where do I get a workflow JSON?

In n8n, open your workflow and use the menu: Workflow → Export → Download JSON. Then paste the JSON into BreznFlow's import wizard or upload the file directly.

Are my API keys safe?

BreznFlow automatically detects and replaces common secret patterns with [REDACTED] before storing. This includes API keys in URL parameters, Authorization headers, and high-entropy condition values. The masking log in the wizard shows exactly what was masked and why. The raw workflow JSON is never saved — only the sanitized version. Note: JavaScript code in Code nodes (jsCode) is displayed as plain text and never executed in the browser, but is NOT automatically scanned for secrets. Review Code node contents manually before publishing.

Can I embed multiple workflows on one page?

Yes. Use [breznflow id="1"], [breznflow id="2"], etc. The JavaScript and CSS are loaded only once regardless of how many shortcodes are on the page.

What n8n version is supported?

The plugin supports the standard n8n workflow JSON export format. It has been tested with workflows from n8n 1.x. The node type registry covers 86 predefined types — unknown types are handled gracefully with auto-generated colors and initials.

Can visitors download the workflow JSON?

Only if you enable it. Downloads require both the global allow_download setting and the per-workflow download permission to be enabled. Only the sanitized (masked) JSON is available — never the original.

How does the embed feature work?

When enabled, BreznFlow serves a standalone HTML page at ?breznflow_embed={id} — no WordPress theme, no admin bar, just the SVG renderer. You can embed this via iframe. Both the global allow_embed setting and the per-workflow _breznflow_show_embed permission must be enabled (dual-gate security). The embed page includes X-Robots-Tag: noindex, nofollow headers.

Can I customize the appearance?

Yes, at three levels: (1) Choose from 5 built-in themes or import custom themes with 41 CSS color tokens. (2) Set display mode, zoom level, and feature toggles per workflow. (3) Override any setting per shortcode with 13 available attributes.

What are the shortcode attributes?

[breznflow id="42" mode="compact" theme="light" zoom="80" show_title="1" show_infobox="1" show_minimap="0" show_download="0" show_share="1" show_embed="0" show_get_json="0" max_code_lines="50"] Only id is required. All other attributes fall back to the workflow's saved settings, then to the global plugin settings.

Does it work with page builders?

Yes. BreznFlow uses a standard WordPress shortcode ([breznflow]), which works in Gutenberg, the Classic Editor, Elementor, Divi, WPBakery, and any other builder that processes shortcodes.

Will it slow down my site?

No. The renderer JS and CSS are only loaded on pages that contain a [breznflow] shortcode. No external HTTP requests are made during page loads. All rendering happens client-side.

更新日志:

1.0.3 1.0.2 1.0.1 1.0.0