freeflowchart
v0.3.2Render text-based flowcharts (FlowScript) to PNG/PDF/Markdown with layout feedback, offline.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
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. Pass markdown_path to also save a Markdown file documenting the chart: the PNG i…
| Parameter | Type | Description |
|---|---|---|
script * | string | FlowScript source, one statement per line |
format | string | Output format |
include_layout | boolean | Include the JSON layout in the result |
markdown_path | string | Absolute path of a .md file to write: image, step outline and FlowScript source. |
output_path | string | Absolute file path to save the output to. Required to keep a PDF in a specific place; if omitted for PDF, a temp file path is returned. |
scale | number | Pixel ratio (resolution multiplier) |
title | string | Heading for the Markdown file (default: its file name) |