Optional
altOptional
architectureOptional
arrowOptional
blockOptional
c4Optional
classOptional
darkOptional
deterministicIDSeedThis option is the optional seed for deterministic ids.
If set to undefined
but deterministicIds is true
, a simple number iterator is used.
You can set this attribute to base the seed on a static string.
Optional
deterministicThis option controls if the generated ids of nodes in the SVG are
generated randomly or based on a seed.
If set to false
, the IDs are generated based on the current date and
thus are not deterministic. This is the default behavior.
This matters if your files are checked into source control e.g. git and should not change unless content is changed.
Optional
dompurifyOptional
elkOptional
cycleThis strategy decides how to find cycles in the graph and deciding which edges need adjustment to break loops.
Optional
mergeElk specific option that allows edges to share path where it convenient. It can make for pretty diagrams but can also make it harder to read the diagram.
Optional
nodeElk specific option affecting how nodes are placed.
Optional
erOptional
flowchartOptional
fontSpecifies the font to be used in the rendered diagrams.
Can be any possible CSS font-family
.
See https://developer.mozilla.org/en-US/docs/Web/CSS/font-family
Optional
fontOptional
forceThis option forces Mermaid to rely on KaTeX's own stylesheet for rendering MathML. Due to differences between OS fonts and browser's MathML implementation, this option is recommended if consistent rendering is important. If set to true, ignores legacyMathML.
Optional
ganttOptional
gitOptional
handDefines the seed to be used when using handDrawn look. This is important for the automated tests as they will always find differences without the seed. The default value is 0 which gives a random seed.
Optional
htmlOptional
journeyOptional
kanbanOptional
layoutDefines which layout algorithm to use for rendering the diagram.
Optional
legacyThis option specifies if Mermaid can expect the dependent to include KaTeX stylesheets for browsers without their own MathML implementation. If this option is disabled and MathML is not supported, the math equations are replaced with a warning. If this option is enabled and MathML is not supported, Mermaid will fall back to legacy rendering for KaTeX.
Optional
logThis option decides the amount of logging to be used by mermaid.
Optional
lookDefines which main look to use for the diagram.
Optional
markdownOptional
maxDefines the maximum number of edges that can be drawn in a graph.
Optional
maxThe maximum allowed size of the users text diagram
Optional
mindmapOptional
packetOptional
pieOptional
quadrantOptional
requirementOptional
sankeyOptional
secureThis option controls which currentConfig
keys are considered secure and
can only be changed via call to mermaid.initialize
.
This prevents malicious graph directives from overriding a site's default security.
Optional
securityLevel of trust for parsed diagram
Optional
sequenceOptional
startDictates whether mermaid starts on Page load
Optional
stateOptional
suppressSuppresses inserting 'Syntax error' diagram in the DOM. This is useful when you want to control how to handle syntax errors in your application.
Optional
themeTheme, the CSS style sheet.
You may also use themeCSS
to override this value.
Optional
themeCSSOptional
themeOptional
timelineOptional
wrapOptional
xyGenerated using TypeDoc
Controls whether or arrow markers in html code are absolute paths or anchors. This matters if you are using base tag settings.