mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-08 00:29:39 +02:00
#989 Added font styling classes to diagrams lacking then
This commit is contained in:
@@ -63,6 +63,10 @@ theme , the CSS style sheet
|
||||
"themeCSS": ".node rect { fill: red; }"
|
||||
</pre>
|
||||
|
||||
## fontFamily
|
||||
|
||||
**fontFamily** The font to be used for the rendered diagrams. Default value is \\"trebuchet ms\\", verdana, arial;
|
||||
|
||||
## logLevel
|
||||
|
||||
This option decides the amount of logging to be used.
|
||||
|
@@ -189,7 +189,7 @@ It is possible to specify a fork in the diagram using <<fork>> <&
|
||||
|
||||
Sometimes nothing says it better then a postit note. That is also the case in state diagrams.
|
||||
|
||||
Here you canb choose to put the onte to the right or to the left of a node.
|
||||
Here you can't choose to put the onte to the right or to the left of a node.
|
||||
|
||||
```
|
||||
stateDiagram
|
||||
@@ -216,6 +216,25 @@ Here you canb choose to put the onte to the right or to the left of a node.
|
||||
## Concurrency
|
||||
|
||||
As in plantUml you can specify concurrency using the -- symbol.
|
||||
```
|
||||
stateDiagram
|
||||
[*] --> Active
|
||||
|
||||
state Active {
|
||||
[*] --> NumLockOff
|
||||
NumLockOff --> NumLockOn : EvNumLockPressed
|
||||
NumLockOn --> NumLockOff : EvNumLockPressed
|
||||
--
|
||||
[*] --> CapsLockOff
|
||||
CapsLockOff --> CapsLockOn : EvCapsLockPressed
|
||||
CapsLockOn --> CapsLockOff : EvCapsLockPressed
|
||||
--
|
||||
[*] --> ScrollLockOff
|
||||
ScrollLockOff --> ScrollLockOn : EvCapsLockPressed
|
||||
ScrollLockOn --> ScrollLockOff : EvCapsLockPressed
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
```mermaid
|
||||
stateDiagram
|
||||
|
Reference in New Issue
Block a user