-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflow.dot
36 lines (31 loc) · 1.27 KB
/
flow.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
/*
Graphviz - DOT language writing!
dot -Tjpg flow.dot -o flow.jpg
*/
digraph Diagram {
//PROFILE [label = "c-icap-xss", shape=none];
nodesep=0.1;
//デフォルトノード
node [fontsize=10];
//デフォルトエッジ
edge [fontsize=9];
SERVICE_INIT [shape=doublecircle, label="SERVICE_INIT"];
SERVICE_INIT -> init_service [label="SERVICE INITIALIZATION"];
ICAP_REQUEST_COME [shape=doublecircle];
ICAP_REQUEST_COME -> init_request_data [label="ICAP Request has come!"];
subgraph clusterRunFlow {
init_request_data -> check_preview_handler [label="Analyzing PreviewData"];
check_preview_handler -> service_io [label="Finished Analyzing PreviewData"];
check_preview_handler -> release_request_data [label="Ends up parse Data"];
service_io -> service_io [label="Parse Data"];
service_io -> release_request_data [label="Ends up parse Data"];
service_io -> end_of_data [label="No Data left"];
end_of_data -> release_request_data [label="destroying instance"];
release_request_data;
}
SIGTERM [shape=doublecircle, label="TEMRINATE"];
subgraph HaltFlow {
SIGTERM -> close_service [label="closing service"];
}
{ rank=same; SERVICE_INIT ICAP_REQUEST_COME SIGTERM }
}