mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 04:44:08 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			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 apperances 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](./Live-Editor.md). 
 | 
						|
 | 
						|
 | 
						|
## 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 defintion inside `%%{ }%%`, either above or below your diagram defintion. 
 | 
						|
 | 
						|
## 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
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 |