-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprocessing-pipeline.dot
55 lines (49 loc) · 1.24 KB
/
processing-pipeline.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
digraph ProcessingPipeline {
graph [size="6"];
splines=ortho;
edge[fontname="Sans-Serif"]
node[style=filled, fillcolor=gray90]
node[fontname="Monospace"]
tokens [label="[Token]", shape="parallelogram"]
args [label="[Argument]", shape="parallelogram"]
node[fontname="Sans-Serif"]
in [label="CLI Input", shape="parallelogram"]
refine [label="Refine", shape="rectangle"]
exec [label="Execute", shape="rectangle"]
out [label="Output", shape="parallelogram"]
clispec [
shape="cylinder",
label=<
<br/>
CLI Spec<br/>
<br/>
<font point-size="10"> Provided by the user </font>
>
]
mapping [
shape="cylinder",
label=<
<br/>
Argument<br/>
↓<br/>
Function<br/>
<br/>
<font point-size="10"> Provided by the user </font>
>
]
in -> tokens [label=" Tokenize "]
tokens -> refine
clispec -> refine
refine -> args
args -> exec
mapping -> exec
exec -> out
// Align clispec node to the right of refine and on the same level
refine -> clispec [style=invis]
clispec -> tokens [style=invis]
subgraph { rank=same; refine; clispec; }
// Align mapping node to the right of exec and on the same level
exec -> mapping [style=invis]
mapping -> args [style=invis]
subgraph { rank=same; exec; mapping; }
}