Skip to content

Instantly share code, notes, and snippets.

@seandavi
Created November 15, 2023 20:37
Show Gist options
  • Save seandavi/529a17836ab2114727d8f3889f1fe9f8 to your computer and use it in GitHub Desktop.
Save seandavi/529a17836ab2114727d8f3889f1fe9f8 to your computer and use it in GitHub Desktop.
Quarto test mermaid document
---
format:
html:
mermaid-format: svg
---
```{mermaid}
%%| fig-width: 100%
autonumber
Participant C as Client[<font size=6>]
Participant TS as Telemetry Server
Participant W as Worker
Participant NF as Nextflow
Participant CS as Cloud Storage
C ->> TS: Add sample for processing
TS ->> C: Sample ID confirmation
W ->> TS: Get next sample
TS ->> W: Next sample id and run UUID
activate NF
W ->> NF: Start run
loop Every minute
NF -->> W: Status updates
W -->> TS: Heartbeat
NF -->> TS: Status updates
end
NF ->> W: Job complete
NF ->> CS: Store results and Logs
deactivate NF
CS -->> TS: Log any new or changed storage objects
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment