diagramport

v0.1.0
io.github.CloudCorpRecords/diagramport Checked 2 days ago Published 1 month ago

Generate Mermaid diagrams and charts from Mermaid syntax, validated locally.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

generate_mermaid_diagram

Generate mermaid diagram and chart with mermaid syntax dynamically.

ParameterTypeDescription
mermaid *stringThe mermaid diagram syntax used to be generated, such as, graph TD; A-->B; A-->C; B-->D; C-->D;.
backgroundColorstringBackground color for the diagram (optional). Default is 'white'.
outputTypestringThe output type of the diagram. Can be 'base64', 'svg', 'mermaid', 'file', 'svg_url', or 'png_url'. Default is 'base64'. 'base64' returns PNG image as base64 encoded string. 'file' saves the PNG image…
themestringTheme for the diagram (optional). Default is 'default'.