GenAI.Graph.MermaidProtocol.Helpers (GenAI Core v0.1.1)
Helpers for generating Mermaid graphs using the GenAI.Graph.MermaidProtocol protocol.
Link to this section Summary
Functions
Return the diagram type.
Indent a string by a given depth.
Format id for mermaid compatibility.
Link to this section Functions
Link to this function
diagram_type(options)
Return the diagram type.
Link to this function
indent(string, depth \\ 1)
Indent a string by a given depth.
Link to this function
mermaid_id(id)
Format id for mermaid compatibility.