-
Book Overview & Buying
-
Table Of Contents
The Official Guide to Mermaid.js
By :
This is a subsection with configuration options specific to sequence diagrams. These are the available options for this subsection:
activationWidth (integer)With this option, you can specify the width of the activation rectangle on a lifeline in a sequence diagram.
Default value: 10
Here is an example of an init directive setting the activationWidth option:
%%{init: {"sequence": {"activationWidth": 10}}}%%diagramMarginX (integer)You can specify the distance on the sides to the right and left of a sequence diagram with this configuration option.
Default value: 50
Here is an example of an init directive setting the diagramMarginX option:
%%{init: {"sequence": {"diagramMarginX": 50}}}%%diagramMarginY (integer)If you want to specify the distance on the sides to the top and bottom of a sequence diagram, you can do that with this option.
Default value: 50
Here is an example of an init directive setting the diagramMarginY option...