Freeflowchart

io.github.northwindapps由 GitHub 账号 northwindapps 发布v0.1.1更新于 Nov 8, 2026

Render text-based flowcharts (FlowScript) to PNG/PDF with layout feedback, offline.

已验证STDIO仅桌面开发者工具媒体与设计

概览

AI 生成的概览

离线把基于文本的 FlowScript 流程图渲染为 PNG 或 PDF,并返回图像与节点布局数据,便于助手核对结果。

可以做什么
  • 把 FlowScript 流程图渲染为 PNG 或 PDF
  • PNG 以图像形式返回供检查,PDF 保存为文件;也可通过 output_path 将任一格式写入磁盘
  • 返回 JSON 布局,列出每个节点相对图像左上角的方框坐标与尺寸(CSS 像素)
适用场景
适合需要把文字描述的流程图转成可查看图表的场景,或需要图表输出加机器可读节点位置来做布局校验时使用,且无需联网。
运行要求
作为本地 stdio 进程运行,需从 npm 包 freeflowchart 安装,因此需要 Node.js 运行环境。未声明任何认证、环境变量或请求头。
安装前请注意
使用 output_path 渲染会把文件写入磁盘指定路径,请指向你预期的位置。未显示需要凭据、付费或向第三方传输数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Freeflowchart,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

工具

1

render_flowchart

Render flowchart

Render a FlowScript flowchart to PNG or PDF. PNG output is returned as an image so you can check the result; PDF is saved to a file. Pass output_path to save either format to disk. The result also includes a JSON layout: every node with its box (x, y, width, height in CSS px from the image top-left; multiply by scale for image pixels), the script line it came from, the edges, and detected issues ("overlap", "edge_crosses_node") with the script lines involved. Use the issues to revise the script and render again. # FlowScript language reference FlowScript is a line-based text format that renders to a left-to-right flowchart. ## Rules - **One statement per line.** Indentation and blank lines are ignored; indent only for readability. - A line is either a **keyword line** or a **process line** (any other text becomes a box). - Keywords are lowercase and must be the **first word** on the line. - **Gotcha:** a process label must not start with a keyword word. `none of the above` is read as the `none` keyword followed by a box labelled `of the above`. Reword it (`No match`) or capitalize it (`None of the above`), since keywords are case-sensitive. - Every `if`/`if2` needs a `then … endthen` block and a closing `endif`. `if` may also have one `else … endelse` block between `endthen` and `endif`. ## Keywords | Line | Renders | |---|---| | `<text>` | Process box labelled `<text>` | | `<text> (<url>)` | Process box with `<url>` shown in its footer | | `<text> <- file(<name>)` | Process box with a document node `<name>` above it, connected down to it | | `if <question>` | Decision diamond. Use with `then`/`endthen`, optional `else`/`endelse`, then `endif` | | `if2 <question>` | Decision diamond with no `else`; the "no" path continues to the next node after `endif` | | `then` / `endthen` | Start / end the "yes" branch (drawn downward) | | `else` / `endelse` | Start / end the "no" branch | | `endif` | Close the if block; the flow continues to the right | | `endflow`

输入参数scaleformatscript必填output_pathinclude_layout

版本历史

1
  1. v0.1.1最新Nov 8, 2026

评分

已满足适用检查项的 65%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。