diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-09-26 12:25:31 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-09-26 12:25:31 +0300 |
commit | 55be65fffbb49ea6b95213945ab7e63bac626c18 (patch) | |
tree | d989eefefb29772764d4da9244d86717b9e48fa5 | |
parent | e555a37d2787bff0d50530860c26a5685607bb25 (diff) | |
download | subplot-rust-talk-55be65fffbb49ea6b95213945ab7e63bac626c18.tar.gz |
Add: arch diagram
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | arch.dot | 36 |
2 files changed, 40 insertions, 1 deletions
@@ -1,2 +1,5 @@ -talk.pdf: talk.md +talk.pdf: talk.md arch.svg pandoc -t beamer -o talk.pdf talk.md + +arch.svg: arch.dot + dot -Tsvg -o arch.svg arch.dot diff --git a/arch.dot b/arch.dot new file mode 100644 index 0000000..eb82f9c --- /dev/null +++ b/arch.dot @@ -0,0 +1,36 @@ +digraph "" { + md [label="document source\n(Markdown)"]; + md [shape=box]; + + bindings [label="bindings file\n(YAML)"]; + bindings [shape=box]; + + impl [label="step implementations\n(Python, Rust, ...)"] + impl [shape=box]; + + docgen [label="Doc generator"]; + docgen [shape=ellipse]; + + codegen [label="Code generator"]; + codegen [shape=ellipse]; + + pdf [label="PDF document"] + pdf [shape=diamond]; + + testprog [label="Test program\n(generated)"] + testprog [shape=box]; + + report [label="Test report"] + report [shape=diamond]; + + md -> docgen; + bindings -> docgen; + docgen -> pdf; + + md -> codegen; + bindings -> codegen; + impl -> codegen; + codegen -> testprog; + + testprog -> report; +} |