-
Notifications
You must be signed in to change notification settings - Fork 0
/
req-res.dot
77 lines (60 loc) · 2.94 KB
/
req-res.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
digraph regexp {
bgcolor=transparent
node[//color=lightgray,
//fontcolor=white,
fontname="Ubuntu",
fontsize=12]
edge[
fontname="Ubuntu",
//color=lightgray
]
req [label="request", URL="", tooltip="incomming request"];
res [label="response", URL="", tooltip="outgoing response"];
j2m [label="json->map", URL="", tooltip="decode json to clojure map"];
pre [shape=diamond, label="pre dispatch", URL="", tooltip="pre-scripts or pre-processing"];
pre_js [shape=box, label=":PreProcessing", URL="", tooltip="pre-processing of js code"];
pre_clj [shape=box, label=":PreScript", URL="", tooltip="clojure functions"];
pre_py [shape=box, label=":PreScriptPy", URL="", tooltip="pre-scripts with python3"];
echo [shape=box, label="echo", URL="", tooltip="echo"];
disp [shape=diamond, label="dispatch", URL="", tooltip="dispatch"];
stub [shape=box, label="stub", URL="https://github.com/wactbprot/devhub/blob/master/src/devhub/stub.clj", tooltip="pre defind responses"];
tcp [shape=box, label="TCP", URL="https://github.com/wactbprot/devhub/blob/master/src/devhub/tcp.clj", tooltip="requests to tcp devices"];
vxi [shape=box, label="VXI", URL="https://github.com/wactbprot/devhub/blob/master/src/devhub/vxi.clj", tooltip="requests to vxi devices"];
modbus [shape=box, label="MODBUS", URL="https://github.com/wactbprot/devhub/blob/master/src/devhub/modbus.clj", tooltip="requests to modbus devices"];
exec [shape=box, label="EXECUTE", URL="https://github.com/wactbprot/devhub/blob/master/src/devhub/execute.clj", tooltip="execution of commands"];
post [shape=diamond, label="post dispatch", URL="", tooltip="post-scripts or post-processing"];
post_js [shape=box, label=":PostProcessing", URL="", tooltip="post-processing of js code"];
post_clj [shape=box, label=":PostScript", URL="", tooltip="clojure functions"];
post_py [shape=box, label=":PostScriptPy", URL="", tooltip="post-scripts with python3"];
m2j [label="map->json", URL="", tooltip="clojure map to decode json"];
req -> j2m
j2m -> disp
j2m -> echo
echo -> m2j
j2m -> pre
pre -> pre_js
pre -> pre_py
pre -> pre_clj
pre_js ->disp
pre_py ->disp
pre_clj->disp
pre -> disp
disp -> stub
disp -> tcp
disp -> vxi
disp -> exec
disp -> modbus
tcp -> post
vxi -> post
exec -> post
modbus-> post
stub -> post
post -> m2j
post -> post_js
post -> post_py
post -> post_clj
post_js -> m2j
post_py -> m2j
post_clj-> m2j
m2j -> res
}