From 65f6ff07186a023d3ed6a261d22cb3f007dc28f7 Mon Sep 17 00:00:00 2001 From: Sean Zellmer Date: Fri, 22 Nov 2024 14:19:11 -0500 Subject: [PATCH] Add diagram of hyperdb schema --- docs/hyperdb-schema-diagram.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/hyperdb-schema-diagram.md diff --git a/docs/hyperdb-schema-diagram.md b/docs/hyperdb-schema-diagram.md new file mode 100644 index 000000000..a646521f3 --- /dev/null +++ b/docs/hyperdb-schema-diagram.md @@ -0,0 +1,13 @@ +# Hyperdb Schema Diagram + +A visual representation of [`schema.json`](../hyperdb/schema/schema.json) using [mermaid.js](https://github.com/mermaid-js/mermaid). + +```mermaid +erDiagram + node { + string host "Required" + unit port "Required" + } + dht {} + dht ||--o{ node : nodes +```