diff --git a/README.md b/README.md
index 53f8fd0..19dbe71 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,8 @@ X25519 key agreement so the broker password is never transmitted.
broker username, with the threat model.
- [docs/enrollment-and-activation.md](docs/enrollment-and-activation.md): the FN-as-username and SN-as-username models compared.
- [docs/mqtt-dynamic-security-rnd.md](docs/mqtt-dynamic-security-rnd.md): the original R&D notes.
+ - The diagrams are written and checked against **Mermaid 11.13.0** (the version bundled with Typora and Obsidian);
+ the sequence diagrams are also embedded as SVG images rendered with that version, with the source under each.
- `go/`, `c/`, `c-libsodium/`, `cpp/`, `run.sh`, `run-libsodium.sh`: fixed-key programs that check the
crypto libraries against the RFC test vectors and against each other.
diff --git a/docs/diagrams/activation-flow.svg b/docs/diagrams/activation-flow.svg
index d1adc2f..967124f 100644
--- a/docs/diagrams/activation-flow.svg
+++ b/docs/diagrams/activation-flow.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/diagrams/enrollment-protocol.svg b/docs/diagrams/enrollment-protocol.svg
index 4a8df37..7180e4e 100644
--- a/docs/diagrams/enrollment-protocol.svg
+++ b/docs/diagrams/enrollment-protocol.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/diagrams/model-a-activation.svg b/docs/diagrams/model-a-activation.svg
index c02f33d..cc62ef1 100644
--- a/docs/diagrams/model-a-activation.svg
+++ b/docs/diagrams/model-a-activation.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/diagrams/model-b-activation.svg b/docs/diagrams/model-b-activation.svg
index 81f2515..8957be5 100644
--- a/docs/diagrams/model-b-activation.svg
+++ b/docs/diagrams/model-b-activation.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/diagrams/stage0-enrollment.svg b/docs/diagrams/stage0-enrollment.svg
index 487485a..9a07633 100644
--- a/docs/diagrams/stage0-enrollment.svg
+++ b/docs/diagrams/stage0-enrollment.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file