Mermaid
Mermaid copied to clipboard
Question - is it possible to use init directive, configure mermaid?
Is it possible to use init directive, e.g.:
%%{ init: { 'flowchart': { 'curve': 'stepAfter', "defaultRenderer": "dagre" } } }%%
or frontmatter configuration, e.g.:
---
title: Hello Title
config:
theme: base
themeVariables:
primaryColor: "#00ff00"
---
I'm using the example from USAGE.md, but it does not seem to work for gitGraph.mainBranchName
Using extension version 6.0.1, with:
{{#mermaid:gitGraph
commit
commit
|
config.gitGraph.mainBranchName = trunk
}}