From dd54f59a21b6d353437ca16d8dc2f3242949d3b0 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 9 Jun 2021 07:07:34 +0300 Subject: add architecture diagram of Subplot Sponsored-by: author --- index.mdwn | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'index.mdwn') 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. -- cgit v1.2.1