fix(docs): fix edge ID example

This commit is contained in:
nour kouider
2025-04-04 18:22:56 +01:00
parent ceb8d4c7ef
commit 9208e7faaf

View File

@@ -1229,13 +1229,13 @@ In the initial version, two animation speeds are supported: `fast` and `slow`. S
```mermaid-example ```mermaid-example
flowchart LR flowchart LR
A e1@> B A e1@-> B
e1@{ animation: fast } e1@{ animation: fast }
``` ```
```mermaid ```mermaid
flowchart LR flowchart LR
A e1@> B A e1@-> B
e1@{ animation: fast } e1@{ animation: fast }
``` ```
@@ -1247,14 +1247,14 @@ You can also animate edges by assigning a class to them and then defining animat
```mermaid-example ```mermaid-example
flowchart LR flowchart LR
A e1@> B A e1@-> B
classDef animate stroke-dasharray: 9,5,stroke-dashoffset: 900,animation: dash 25s linear infinite; classDef animate stroke-dasharray: 9,5,stroke-dashoffset: 900,animation: dash 25s linear infinite;
class e1 animate class e1 animate
``` ```
```mermaid ```mermaid
flowchart LR flowchart LR
A e1@> B A e1@-> B
classDef animate stroke-dasharray: 9,5,stroke-dashoffset: 900,animation: dash 25s linear infinite; classDef animate stroke-dasharray: 9,5,stroke-dashoffset: 900,animation: dash 25s linear infinite;
class e1 animate class e1 animate
``` ```