summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-10-26 16:42:41 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-10-26 16:42:41 +0200
commit5b08f476ec93193756f1152ffbae722cee9e07d3 (patch)
tree811d094b76ebb9968669a6d70903593d39c6046b /doc
parentdc1676ce694ff0c6aa90dbde06587928c1f13424 (diff)
downloadmerchant-5b08f476ec93193756f1152ffbae722cee9e07d3.tar.gz
merchant-5b08f476ec93193756f1152ffbae722cee9e07d3.tar.bz2
merchant-5b08f476ec93193756f1152ffbae722cee9e07d3.zip
dot diagram for docs
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am3
-rw-r--r--doc/arch.dot18
-rw-r--r--doc/manual.texi5
3 files changed, 23 insertions, 3 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 10da2d7d..6d822548 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,2 +1,5 @@
info_TEXINFOS = manual.texi
manual_TEXINFOS = version.texi
+
+# FIXME. Find a way to compile arch.dot here.
+# The command is: dot -Tpng arch.dot > arch.png
diff --git a/doc/arch.dot b/doc/arch.dot
new file mode 100644
index 00000000..a818ddce
--- /dev/null
+++ b/doc/arch.dot
@@ -0,0 +1,18 @@
+digraph G {
+
+ user[label="User browser"];
+ subgraph cluster_0 {
+ Frontend;
+ Backend;
+ DBMS;
+ label="Shop";
+ }
+ subgraph cluster_1 {
+ Exchange;
+ label="Exchange";
+ }
+ user->Frontend;
+ Frontend->Backend;
+ Backend->DBMS;
+ Backend->Exchange;
+}
diff --git a/doc/manual.texi b/doc/manual.texi
index 1b2e4a31..99b348ff 100644
--- a/doc/manual.texi
+++ b/doc/manual.texi
@@ -85,11 +85,10 @@ result, the frontend never has to directly communicate with the
exchange, and also does not deal with sensitive data (such as the
merchant's signing keys and bank account information).
-@c FIXME: this needs an image!
-@c show browser, Web server (frontend), Taler backend, DBMS and Taler exchange,
+@center @image{arch, 3in, 4in}
-@c re-FIXME: image like screenshots or diagrams?
+@c FIXME: How?
@c and possibly even back office (Web service for shop owner)
@c and interactions (select products, pay, deposit, confirm, persist, track)