Skip to content

Mermaid

podman run \
  --userns keep-id \
  --user ${UID} \
  --rm \
  -v "$(pwd)/docs":/data:z \
  minlag/mermaid-cli /mermaid-cli -i architecture.md

entity relationship diagrams

Here is a simple flow chart:

mermaid
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
    D-->E;
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
    D-->E;
    D-->B;

And here is a network flow diagram:

mermaid
sequenceDiagram
    Alice->>+John: Hello John, how are you?
    Alice->>+John: John, can you hear me?
    John-->>-Alice: Hi Alice, I can hear you!
    John-->>-Alice: I feel great!
sequenceDiagram
    Alice->>+John: Hello John, how are you?
    Alice->>+John: John, can you hear me?
    John-->>-Alice: Hi Alice, I can hear you!
    John-->>-Alice: I feel great!