move2.dot 1.47 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
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"
15
		label = "Before Copying (Hypothetic)"
16 17 18 19 20
		style=filled
		fillcolor=gray95

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

21
		c1 [label="{contacts:array|}", fillcolor=4]
22 23 24 25
		c11 [label="{|}"]
		c12 [label="{|}"]
		c13 [shape="none", label="...", style="solid"]
		o1 [label="{o:object|}", fillcolor=3]
26
		ghost [label="{o:object|}", style=invis]
27

28
		c1 -> o1 [style="dashed", label="AddMember", constraint=false]
29 30 31

		edge [arrowhead=vee]
		c1 -> { c11; c12; c13 }
32
		o1 -> ghost [style=invis]
33 34 35 36 37
	}

	subgraph cluster2 {
		margin="10,10"
		labeljust="left"
38
		label = "After Copying (Hypothetic)"
39 40 41 42 43
		style=filled
		fillcolor=gray95

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

44
		c2 [label="{contacts:array|}", fillcolor=4]
45
		c3 [label="{array|}", fillcolor=4]
46 47 48 49
		c21 [label="{|}"]
		c22 [label="{|}"]
		c23 [shape=none, label="...", style="solid"]
		o2 [label="{o:object|}", fillcolor=3]
50
		cs [label="{string|\"contacts\"}", fillcolor=5]
51 52 53 54 55 56 57 58 59 60
		c31 [label="{|}"]
		c32 [label="{|}"]
		c33 [shape="none", label="...", style="solid"]

		edge [arrowhead=vee]
		c2 -> { c21; c22; c23 }
		o2 -> cs
		cs -> c3 [arrowhead=none]
		c3 -> { c31; c32; c33 }
	}
61
	ghost -> o2 [style=invis]
62
}