-
Notifications
You must be signed in to change notification settings - Fork 1
/
pipeline.dot
106 lines (87 loc) · 2.37 KB
/
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
digraph G{
// rankdir=LR;
// node [shape=record];
// subgraph cluster_0 {
// label = "schoty";
// node [color=white, style=filled];
// color= "#ffe5dc";
// style=filled
// a0 [label="Retreive data from \nZTF Alert Stream"];
// a1 [label="Push plots to Slack"];
// }
// subgraph cluster_1 {
// label = "MSI";
// node [color=white, style=filled];
// color="#bcdaee";
// style=filled
// b0 [label="Sync \nwith schoty"];
// a0 -> b0;
// b1 [label="Check for candidates \nyet to be fit"];
// b0->b1
// b1->b0 [label="No new \ncandidates found"]
// b1->b3 [label="New candidates \nfound"]
// b3 [label="Submit fit jobs"];
// b4 [label="Check completion of fit jobs"];
// b3 -> b4;
// b4 -> b4 [label="Jobs incomplete"];
// b4 -> b5 [label="Jobs complete"];
// b5 [label="Push results to \nSchoty"];
// b5 -> a1;
// }
rankdir=LR;
splines=false;
node [shape=record];
subgraph cluster_0 {
label = "schoty";
node [color=white, style=filled];
color= "#ffe5dc";
style=filled
a0 [label="Retreive data from \nZTF Alert Stream"];
a1 [label="Push fits \nto Slack"];
}
subgraph cluster_1 {
label="MSI";
node [color=white, style=filled];
color="#bcdaee";
style=filled
{rank=same; b0}
{rank=same; b3a; b3b}
{rank=same; b3aa; b3ab; b3ac; b3ba; b3bb; b3bc}
// {rank=same; b1; End}
b0 [label="Sync \nwith schoty"];
b1 [label="Check for new \n candidates"];
// b1a [label="End"];
b2 [label="Submit \nfits"];
b3a [label="candidate 1"];
b3aa [label="Kilonova"];
b3ab [label="Supernova"];
b3ac [label="GRB \nAfterglow"];
b3b [label="candidate N"];
b3ba [label="Kilonova"];
b3bb [label="Supernova"];
b3bc [label="GRB \nAfterglow"];
b4 [label="Push \nto schoty"];
}
a0 -> b0 -> b1;
// b1 -> b1a [label="No new \ncandidates found"];
b1 -> end [label="No new \ncandidates found"];
b1 -> b2 [label="New candidates \nfound"];
b2 -> b3a
b2 -> b3b
b3b -> b3ba
b3b -> b3bb
b3b -> b3bc
b3a -> b3aa
b3a -> b3ab
b3a -> b3ac
b3aa -> b4
b3ab -> b4
b3ac -> b4
b3ba -> b4
b3bb -> b4
b3bc -> b4
b4 -> a1
}
// b0 -> b1;
// b1 -> b1a [label="No new \ncandidates found"];
}