mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-21 17:26:45 +02:00
Update docs
This commit is contained in:
@@ -790,9 +790,8 @@ This feature is applicable to node labels, edge labels, and subgraph labels.
|
|||||||
|
|
||||||
It is possible to bind a click event to a node, the click can lead to either a javascript callback or to a link which will be opened in a new browser tab.
|
It is possible to bind a click event to a node, the click can lead to either a javascript callback or to a link which will be opened in a new browser tab.
|
||||||
|
|
||||||
```note
|
> **Note**
|
||||||
This functionality is disabled when using `securityLevel='strict'` and enabled when using `securityLevel='loose'`.
|
> This functionality is disabled when using `securityLevel='strict'` and enabled when using `securityLevel='loose'`.
|
||||||
```
|
|
||||||
|
|
||||||
click nodeId callback
|
click nodeId callback
|
||||||
click nodeId call callback()
|
click nodeId call callback()
|
||||||
@@ -1084,9 +1083,8 @@ You can change the renderer to elk by adding this directive:
|
|||||||
|
|
||||||
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
|
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
|
||||||
|
|
||||||
```note
|
> **Note**
|
||||||
Note that the site needs to use mermaid version 9.4+ for this to work and have this featured enabled in the lazy-loading configuration.
|
> Note that the site needs to use mermaid version 9.4+ for this to work and have this featured enabled in the lazy-loading configuration.
|
||||||
```
|
|
||||||
|
|
||||||
### Width
|
### Width
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user