summaryrefslogtreecommitdiff
path: root/graphics/dot2tex/examples/latexmarkup.dot
blob: af48930fda69bacc806b43209d3ba48cb209ee3f (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
29
30
31
32
/*

:Title: LaTeX markup
:Tags: PGF

*/
digraph G {
	node [fontcolor=red];
	subgraph cluster0 {
		node [style=filled,color=white, texmode=math];
		style=filled;
		color=lightgrey;
		a_0 -> a_1 -> a_2 -> a_3;
		label="latex";
		texlbl="\LaTeX";
	}
	subgraph cluster1 {
		node [style=filled, texmode=math, fontcolor=red];
		b_0 -> b_1 -> b_2 -> b_3;
		label = "process #2";
		color=blue
	}
	start -> a_0;
	start -> b_0;
	a_1 -> b_3;
	b_2 -> a_3;
	a_3 -> a_0;
	a_3 -> end;
	b_3 -> end;
	start [shape=diamond, texlbl="${\frac{\sqrt{\gamma+\beta}}{x^2+y^2}}$"];
	end [shape=Msquare];
}