summaryrefslogtreecommitdiff
path: root/index.mdwn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-06-09 07:07:34 +0300
committerLars Wirzenius <liw@liw.fi>2021-06-09 07:35:54 +0300
commitdd54f59a21b6d353437ca16d8dc2f3242949d3b0 (patch)
tree64f8ed6bc869a853b94c16f5be1f70abc49e0442 /index.mdwn
parent5cf11e470f4589098d9a236976cc4dd77793fbb8 (diff)
downloadsubplot.liw.fi-dd54f59a21b6d353437ca16d8dc2f3242949d3b0.tar.gz
add architecture diagram of Subplot
Sponsored-by: author
Diffstat (limited to 'index.mdwn')
-rw-r--r--index.mdwn40
1 files changed, 40 insertions, 0 deletions
diff --git a/index.mdwn b/index.mdwn
index 66825bc..b81d0e7 100644
--- a/index.mdwn
+++ b/index.mdwn
@@ -113,6 +113,46 @@ See actual, working, tested examples:
[PDF](https://doc.subplot.liw.fi/subplot.pdf),
[source](https://gitlab.com/subplot/subplot/-/blob/main/subplot.md)).
+# Architecture
+
+
+```dot
+digraph "architecture" {
+md [label="foo.md \n (document, Markdown)"];
+md [shape=box];
+
+bindings [label="foo.yaml \n (bindings, YAML)"];
+bindings [shape=box];
+
+impl [label="foo.py \n (step implemenations, Python)"]
+impl [shape=box];
+
+subplot [label="Subplot"];
+subplot [shape=ellipse];
+
+pdf [label="foo.pdf \n PDF (generated)"]
+pdf [shape=note];
+
+html [label="foo.html \n HTML (generated)"]
+html [shape=note];
+
+testprog [label="test.py \n test program\n(generated)"]
+testprog [shape=note];
+
+report [label="Test report \n (stdout of test.py)"]
+report [shape=note];
+
+md -> subplot;
+bindings -> subplot;
+impl -> subplot;
+subplot -> pdf;
+subplot -> html;
+subplot -> testprog;
+testprog -> report;
+}
+```
+
+
# A bonus kitten
Because you scrolled all the way down.