mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-15 05:19:58 +02:00
"belong to the forth link" should be "belong to the fourth link"; "seperate module" should be "separate module".
4
Home.md
4
Home.md
@@ -237,7 +237,7 @@ A---|This is the text|B;
|
|||||||
It is possible to style links, for instance you might want to style a link that is going backwards in the flow. As links
|
It is possible to style links, for instance you might want to style a link that is going backwards in the flow. As links
|
||||||
has no ids in the same way as nodes, some other way of deciding what link the style should be attached to is required.
|
has no ids in the same way as nodes, some other way of deciding what link the style should be attached to is required.
|
||||||
Instead of ids the order number of when the link was defined in the graph is used. In the example below the style
|
Instead of ids the order number of when the link was defined in the graph is used. In the example below the style
|
||||||
defined in the linkStyle statement will belong to the forth link in the graph:
|
defined in the linkStyle statement will belong to the fourth link in the graph:
|
||||||
|
|
||||||
```
|
```
|
||||||
linkStyle 3 stroke:#ff3,stroke-width:4px;
|
linkStyle 3 stroke:#ff3,stroke-width:4px;
|
||||||
@@ -254,7 +254,7 @@ click nodeId callback
|
|||||||
* nodeId is the id of the node
|
* nodeId is the id of the node
|
||||||
* callback is the name of a javascript function defined on the page displaying the graph, the function will be called with the nodeId as parameter.
|
* callback is the name of a javascript function defined on the page displaying the graph, the function will be called with the nodeId as parameter.
|
||||||
|
|
||||||
## Usage of the parser as a seperate module
|
## Usage of the parser as a separate module
|
||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user