move1.dot 935 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
digraph {
	compound=true
	fontname="Inconsolata, Consolas"
	fontsize=10
	margin="0,0"
	ranksep=0.2
	penwidth=0.5

	node [fontname="Inconsolata, Consolas", fontsize=10, penwidth=0.5]
	edge [fontname="Inconsolata, Consolas", fontsize=10, arrowhead=normal]

	subgraph cluster1 {
		margin="10,10"
		labeljust="left"
		label = "Before"
		style=filled
		fillcolor=gray95

		node [shape=Mrecord, style=filled, colorscheme=spectral7]

21 22 23 24 25
		{
			rank = same
			b1 [label="{b:number|456}", fillcolor=6]
			a1 [label="{a:number|123}", fillcolor=6]
		}
26

27
		a1 -> b1 [style="dashed", label="Move", dir=back]
28 29 30 31 32 33 34 35 36 37 38
	}

	subgraph cluster2 {
		margin="10,10"
		labeljust="left"
		label = "After"
		style=filled
		fillcolor=gray95

		node [shape=Mrecord, style=filled, colorscheme=spectral7]

39 40 41 42 43 44
		{
			rank = same
			b2 [label="{b:null|}", fillcolor=1]
			a2 [label="{a:number|456}", fillcolor=6]
		}
		a2 -> b2 [style=invis, dir=back]
45
	}
46
	b1 -> b2 [style=invis]
47
}