Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.39 KB

defaultConfig.md

File metadata and controls

56 lines (37 loc) · 1.39 KB

Warning

THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.

Module: defaultConfig

Variables

configKeys

Const configKeys: string[]

Defined in

defaultConfig.ts:1933


default

Const default: Partial<MermaidConfig>

Configuration methods in Mermaid version 8.6.0 have been updated, to learn more[click here].

What follows are config instructions for older versions

These are the default options which can be overridden with the initialization call like so:

Example 1:

mermaid.initialize({ flowchart: { htmlLabels: false } });

Example 2:

<script>
  const config = {
    startOnLoad: true,
    flowchart: { useMaxWidth: true, htmlLabels: true, curve: 'cardinal' },
    securityLevel: 'loose',
  };
  mermaid.initialize(config);
</script>

A summary of all options and their defaults is found here. A description of each option follows below.

Defined in

defaultConfig.ts:33