Issue 03 · AI visual design

Using AI for visuals: design and explanation

How Mermaid gives AI an editable language for turning rough explanations into useful technical diagrams.

In short: Mermaid gives AI a text language for diagrams. It does not make AI a mind reader, but it makes a rough idea much easier to draw, challenge, and change.

I draw while I think

As a technical trainer, I was constantly drawing mind maps.

At one point, I explained the Azure world through Harry Potter. Databricks was Hagrid. The boats taking first-year students to Hogwarts became identity onboarding. ADF was the Great Hall, and the houses were ADLS storage containers.

A hand-drawn Hogwarts-inspired map used to explain cloud security, identity, networking, storage, and analytics. It was drawn in 2022 and I am still very proud of it. I made dis.

The drawings began in PowerPoint, then escaped into Inkodo and onto whiteboards like Klaxoon. The problem was repetition: I drew the same thing for the next class and then again the following week.

Copilot at the time could barely generate a reliable sentence in a drawing. It also could not decide how many fingers a human should have, never mind recreate one of my beautiful stickmen.

I am a visual thinker. A drawing is rarely decoration for me. It is often the moment when a list of services, steps, or concepts finally makes sense. Doodles, on the other hand, are clearly works of art and should always be available to entertain me in less-than-interesting meetings.

When my team started sharing diagrams in our knowledge and design documents, I assumed they were making them in draw.io and pasting in an image. It turned out they were describing them in code and generating them through VS Code extensions.

We mainly use:

There are plenty of other tools, but these give us a useful starting point. I use Mermaid whenever I can because the source is text. It can:

It is simple. I like simple.

Give the diagram one job

Here is a deliberately simple example:

What has to be true before somebody can trust a metric?

mindmap
  root((A metric people can trust))
    Meaning
      Business question
      Shared definition
    Model
      Fact and grain
      Dimensions
      Metric
    Checks
      Missing identifiers
      Duplicate events
      Volume changes
      Audit
    Delivery
      Pipeline
      Dashboard
      Analysis
      Alerts

View the Mermaid source for Example 1.

For a learner, this is a map of the lesson before we disappear into syntax. I can point to where SQL, semantic modelling, and data quality fit without pretending that one tool is the whole answer.

For a project team, the same diagram is a design conversation. Somebody can challenge the grain, add a missing check, or ask who owns the definition. Because the diagram is in text, that correction takes seconds rather than a new drawing session.

Technical diagrams should all be designed to be a little bit stupid. Their job is to make one idea easier to see. If a diagram becomes complicated, that may be useful evidence that the process is complicated too.

My rule now: if I cannot explain the diagram’s job in one sentence, I am not ready to argue about colours.

AI still needs direction

My thoughts can be busy. My explanations can be busy. Unsurprisingly, my documentation and drawings can become busy too. I get told this all the time. Thanks, Seb, my lead, who pointed it out today (2026-10-08).

I saw this while trying to explain a dimension table called dim_button. The example here is fictional and scrubbed, but the design problem is real.

My goal was to show four mapped columns and representative values. My first attempt tried to show the table, definitions, categories, examples, rules, and relationships all at once.

A dense mind map for dim_button in which column definitions, classifications, example identifiers, and governance notes compete at the same level.

View the Mermaid source for Iteration 1.

It was alphabetti spaghetti. The syntax worked. The visual did not.

Use AI to simplify a busy idea

In training, I used a prompt coach to improve an instruction before asking AI to do the thing. Mine used GCSE. I adapted that approach into a Mermaid visual agent.

I do not think prompting is disappearing. Even with agentic tools, we are still trying to explain what we want to a machine. GCSE helps me spot what I forgot:

For a visual, I sneak in one more question:

Visual intent: What should the viewer notice first, second, and third?

I also ask the agent to fix the information architecture before making things pretty, recommend a diagram type, and explain what changed. That turns “draw this” into something closer to a design review.

The first revision separated column definitions from illustrative values:

A vertical dim_button flowchart with four column-definition cards above four groups of illustrative values.

View the reconstructed Mermaid source for Iteration 2.

Better: the column definitions and values were finally separated.

Still not what I meant: the values were governed mappings, not example records. Calling them “illustrative values” changed the meaning.

My next instruction clarified the hierarchy:

dim_button
  -> mapped column
    -> governed value

That led back to a mind map, but with the descriptions, placeholder identifiers, and repeated classifications removed:

The final dim_button mind map, with the table at the centre, four mapped columns as branches, and concise governed values beneath each column.

View the Mermaid source for Iteration 3.

After all that, the final version returned to a mind map. It answers one question:

Which governed values belong to each mapped dim_button column?

The full sanitised iteration notes show the critique and corrections in more detail: Refining the dim_button Mermaid diagram.

The good

The bad

AI can translate an idea, but first I need to know what the image is trying to say. “Make me a nice architecture diagram” usually produces architecture soup. A question, an audience, and a rough hierarchy produce something more useful.

What I actually do now

  1. Write the question the diagram must answer.
  2. List the essential parts in plain text.
  3. Use GCSE to ask AI for the simplest Mermaid diagram that connects them.
  4. Challenge the hierarchy and meaning before discussing colour.
  5. Remove anything that needs a paragraph to explain, then treat the output as a draft.

In summary

I use Mermaid for structured visuals that need to live beside code or documentation. My team reaches for Excalidraw when an idea needs a freer shape.

The tool matters less than giving the visual one job. I also still believe ASCII is sometimes a better teacher than a polished diagram:

              TABLE
          dim_button
               |
     +---------+-----------+
     |         |           |
   COLUMN    COLUMN      COLUMN ...
     |
  VALUES

Next week, I’ll extend this into dashboards and complex visualisations by sharing a fictional Streamlit heatmap project.

Note: Most of this text was designed and written by a human, then waffled and edited by AI.

#TodayAILearned #VSCode #ArtificialIntelligence #Mermaid #DataVisualisation