Skip to content

Mermaid.run method

Mermaid › run

Unofficial

Run Mermaid rendering on DOM elements.

Signature:

run(options?: RunOptions): Promise<void>

Parameters:

ParameterTypeDescription
options?RunOptionsOptions for the run.

Returns: Promise<void> — A promise that resolves when rendering is complete.