Back to Mermaid

Multi-Diagram Unique ID Test

cypress/platform/multi_diagram_unique_ids.html

11.0.0995 B
Original Source

Multi-Diagram Unique ID Test

Each diagram type below appears twice with identical content.

flowchart LR
      A[Start] --> B{Decision}
      B -->|Yes| C[OK]
      B -->|No| D[Cancel]
flowchart LR
      A[Start] --> B{Decision}
      B -->|Yes| C[OK]
      B -->|No| D[Cancel]
classDiagram
      class Animal {
        +String name
        +makeSound()
      }
      class Dog {
        +fetch()
      }
      Animal <|-- Dog
classDiagram
      class Animal {
        +String name
        +makeSound()
      }
      class Dog {
        +fetch()
      }
      Animal <|-- Dog
erDiagram
      CUSTOMER ||--o{ ORDER : places
      ORDER ||--|{ LINE-ITEM : contains
erDiagram
      CUSTOMER ||--o{ ORDER : places
      ORDER ||--|{ LINE-ITEM : contains
stateDiagram-v2
      [*] --> Active
      Active --> Inactive
      Inactive --> [*]
stateDiagram-v2
      [*] --> Active
      Active --> Inactive
      Inactive --> [*]