User: Xavier/Experiments/mermaid

From Genesys Documentation
Jump to: navigation, search

🧜‍♀️⚗️[ | edit source]

Docs: [Diagrams]


Code to create diagram[ | edit source]

{{#mermaid:sequenceDiagram 
participant Switch
participant Kafka
participant Client
  Switch->>Kafka: CallAppearedOnRoutingPoint
  Kafka->>Client: EventRouteRequest
  Switch->>Kafka: CallLeftRoutingPoint
  Kafka->>Client: EventRouteUsed
|config.theme=default
}}

Resulting Diagram[ | edit source]


Some more diagrams from Corrine[ | edit source]

sample 1[ | edit source]

{{#mermaid:sequenceDiagram
participant Client
participant Voice Microservices
participant Kafka
Client->>Voice Microservices: TAgentLogin
Voice Microservices->>Kafka: EventAgentLogin
Voice Microservices->>Kafka: EventAgentReady or EventAgentNotReady
|config.theme=neutral
}}

sample 2[ | edit source]

This uses a config.theme parameter with a neutral (black & white) theme.

{{#mermaid:sequenceDiagram
Switch->>Voice Microservices: CallAppearedOnRoutingPoint
Voice Microservices->>Client: EventRouteRequest
Switch->>Voice Microservices: CallLeftRoutingPoint
Voice Microservices->>Kafka: EventRouteUsed
|config.theme = base
}}


Template Calls[ | edit source]

Template:Mermaid

Themes[ | edit source]

Base Theme[ | edit source]

Forest Theme[ | edit source]

Dark Theme[ | edit source]

Default Theme (same as Forest)[ | edit source]

Neutral Theme[ | edit source]

Retrieved from "https://all.docs.genesys.com/User:Xavier/Experiments/mermaid (2024-11-09 11:16:38)"