Docs here https://mermaid-js.github.io/mermaid/#/flowchart new Flowchart(data: Node[]) Methods: .toMmd(options) .toHtml(options) .toSvg(options) Options - traverseByVerb - showVerb - fileName - outputDir