summaryrefslogtreecommitdiffstats
path: root/doc/batch_state.dot
blob: 0dd48b47b029d6ff76f4d5ace4b2eb019217d51b (plain)
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
// This file is part of rsyslog.
// 
// rsyslog batch state diagram
//
// see http://www.graphviz.org for how to obtain the graphviz processor
// which is used to build the actual graph.
//
// generate the graph with
// $ dot file.dot -Tpng >file.png

digraph msgState {
	compound=true; nodesep=1.0
	//label="\n\nrsyslog batch states\nhttp://www.rsyslog.com";
	rankdir=LR

	rdy	[label="ready"];
	bad	[label="message-caused\nfailure"];
	sub	[label="submitted"]
	disc	[label="discarded" color="red"]

	rdy  -> sub	[label="submitted to action"]
	rdy  -> bad	[label="permanent fail"]
	rdy  -> disc	[label="action requests discarding"]
	sub  -> rdy	[label="next action or\naction-caused failure"]
	bad  -> rdy	[label="next action"]

	//{rank=same; comm rtry }
}