mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-05 15:19:36 +02:00
@@ -515,8 +515,8 @@ flowchart LR
|
|||||||
|
|
||||||
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
|
||||||
have no ids in the same way as nodes, some other way of deciding what style the links should be attached to is required.
|
have no ids in the same way as nodes, some other way of deciding what style the links 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, or use default to apply to all links.
|
||||||
defined in the linkStyle statement will belong to the fourth link in the graph:
|
In the example below the style defined in the linkStyle statement will belong to the fourth link in the graph:
|
||||||
|
|
||||||
```
|
```
|
||||||
linkStyle 3 stroke:#ff3,stroke-width:4px,color:red;
|
linkStyle 3 stroke:#ff3,stroke-width:4px,color:red;
|
||||||
|
Reference in New Issue
Block a user