User: Xavier/Experiments/mermaid
From Genesys Documentation
								
												
Contents
🧜♀️⚗️[ | 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
}}
