Renders a static Mermaid.js left-to-right workflow flowchart as an inline image fetched from the mermaid.ink rendering service.
WORKFLOWDIAGRAM — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Param1 — workflow name; used to query referencedb.axion.def_workflows for node GUIDs, types, direct branches, and possible branches.Builds a Mermaid graph LR definition from the workflow nodes, encodes it as base64, and returns an <img> tag pointing to https://mermaid.ink/img/{base64}.
mm(graph)Encodes the Mermaid graph string as base64 and returns the mermaid.ink URL. Also calls IPython.display.display with the image URL as a side effect.
referencedb.axion.def_workflows; the database must be accessible under that alias.PossibleBranches render multi-target edges; nodes of type done are excluded from outbound edges.mermaid.ink for diagram rendering.IPython.display import causes a dependency on IPython, which is only needed for the mm side effect.