How can I add mermaid configurations?

Luca Ippolito April 15, 2020

Usually, i create diagrams with mermaid using the online live editor. Since participants in sequence diagrams often are pretty compressed, I usually use the following configuration to increase the margin between them:

{
"theme": "default",
"sequence": {
"actorMargin": 150
}
}

 See an example here: https://mermaid-js.github.io/mermaid-live-editor/#/edit/eyJjb2RlIjoic2VxdWVuY2VEaWFncmFtXG5cdEFsaWNlLT4-K0pvaG46IEhlbGxvIEpvaG4sIGhvdyBhcmUgeW91P1xuXHRBbGljZS0-PitKb2huOiBKb2huLCBjYW4geW91IGhlYXIgbWU_XG5cdEpvaG4tLT4-LUFsaWNlOiBIaSBBbGljZSwgSSBjYW4gaGVhciB5b3UhXG5cdEpvaG4tLT4-LUFsaWNlOiBJIGZlZWwgZ3JlYXQhXG5cdFx0XHRcdFx0IiwibWVybWFpZCI6eyJ0aGVtZSI6ImRlZmF1bHQiLCJzZXF1ZW5jZSI6eyJhY3Rvck1hcmdpbiI6MjAwfX19

I have not found the possibility to add such configurations to the confluence plugin, is this even supported?

1 answer

0 votes
yinl July 20, 2023

@Luca Ippolito, do you mean such configuration ?

 

mermaid-customize-theme.png

 

This app can solve you problem https://marketplace.atlassian.com/apps/1231571

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events