A visit to the doctor

A visit to the doctor as an animated sequence diagram: the patient, the front desk, the doctor and the pharmacy, one message at a time. Useful for clinics that want patients to know what to expect.

animated sequence diagram Open in the editor

What it shows

Make one like this

Three ways, all free. No account needed.

In the editor

Open this diagram in the editor and change the text, the blocks or the order of the steps. Export it as a GIF or an HTML page.

Open in the editor →

With your AI agent

Install the Fluxygram skill in Claude, Cursor, Codex or Gemini and ask for it in plain words:

Use the Fluxygram skill to make an animated diagram: A visit to the doctor.
How to install the skill →

On your site

Download the JSON and show it anywhere with one script:

<script type="module" src="https://cdn.jsdelivr.net/npm/fluxygram@0.3"></script>
<fluxy-gram src="doctor.flux.json"></fluxy-gram>
Download the JSON →
See the JSON behind this diagram
{
  "$schema": "/schema/v1.json",
  "type": "sequence",
  "title": "A visit to the doctor",
  "nodes": [
    {
      "id": "patient",
      "label": "Patient",
      "icon": "user"
    },
    {
      "id": "desk",
      "label": "Front desk",
      "icon": "clipboard"
    },
    {
      "id": "doctor",
      "label": "Doctor",
      "icon": "health",
      "accent": true
    },
    {
      "id": "pharmacy",
      "label": "Pharmacy",
      "icon": "pill"
    }
  ],
  "edges": [
    {
      "from": "patient",
      "to": "desk",
      "label": "books a visit"
    },
    {
      "from": "desk",
      "to": "patient",
      "label": "date and time"
    },
    {
      "from": "patient",
      "to": "doctor",
      "label": "symptoms"
    },
    {
      "from": "doctor",
      "to": "patient",
      "label": "diagnosis"
    },
    {
      "from": "doctor",
      "to": "patient",
      "label": "prescription"
    },
    {
      "from": "patient",
      "to": "pharmacy",
      "label": "prescription"
    },
    {
      "from": "pharmacy",
      "to": "patient",
      "label": "medicine"
    }
  ]
}

More examples

See all examples →