mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
4b78a2106d
* chore: update browsers list * Re enable markdown & jsdoc linting. * Update links to `mermaid.live` Co-authored-by: sidharthv96 <sidharthv96@users.noreply.github.com>
28 lines
1.2 KiB
Markdown
28 lines
1.2 KiB
Markdown
# Configuration
|
|
|
|
Configuration is the second half of Mermaid, after deployment. Together Deployment and Configuration constitute the whole of Mermaid.
|
|
|
|
This section will introduce the different methods of configuring of the behaviors and appearances of Mermaid Diagrams.
|
|
The Following are the most commonly used methods, and are all tied to Mermaid [Deployment](./n00b-gettingStarted.md) methods.
|
|
|
|
## Configuration Section in the [Live Editor](https://mermaid.live/).
|
|
|
|
|
|
## The `initialize()` call, for when Mermaid is called via an API, or through a <script> tag.
|
|
|
|
|
|
## [Directives](./directives.md),
|
|
|
|
allows the limited reconfiguration of a diagram just before it is rendered. It can alter the font style, color and other aesthetic aspects of the diagram. you can pass a directive alongside your definition inside `%%{ }%%`, either above or below your diagram definition.
|
|
|
|
## Theme Creation:
|
|
An application of using Directives to change [Themes](./theming.md). `Theme` is an value within mermaid's configuration that dictates the color scheme for diagrams.
|
|
|
|
|
|
If you are interested in altering and customizing your Mermaid Diagrams, you will find the methods and values available for [Configuration](./Setup.md) here. It includes themes
|
|
|
|
|
|
|
|
|
|
|