-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathngInclude_child_follows_chain.dot
42 lines (38 loc) · 1.56 KB
/
ngInclude_child_follows_chain.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
37
38
39
40
41
42
digraph d {
rankdir=LR
nodesep=0.1
node [fontname="Helvetica,Sans", fontsize=9, penwidth=0.5, margin="0.05, 0.04", height="0.2" ]
/* scopes */
node [shape=plaintext];
root [label=<<table bgcolor="beige" border="0" cellborder="1" cellpadding="2" cellspacing="0">
<tr><td port="proto">[ RootScope ]</td></tr></table>>]
parent [label=<<table bgcolor="beige" border="0" cellborder="1" cellpadding="2" cellspacing="0">
<tr><td port="proto">[ ParentScope ]</td></tr>
<tr><td port="myPrimitive">myPrimitive</td></tr>
<tr><td port="myObject">myObject</td></tr>
</table>>]
child1 [label=<<table bgcolor="beige" border="0" cellborder="1" cellpadding="2" cellspacing="0">
<tr><td port="proto">[ ChildScope1 ]</td></tr>
<tr><td port="myPrimitive">myPrimitive</td></tr>
</table>>]
child2 [label=<<table bgcolor="beige" border="0" cellborder="1" cellpadding="2" cellspacing="0">
<tr><td port="proto">[ ChildScope2 ]</td></tr>
</table>>]
/* objects */
myObject [label=<<table bgcolor="skyblue1" border="0" cellborder="1" cellpadding="2" cellspacing="0">
<tr><td port="aNumber">aNumber</td></tr>
</table>>]
/* literals */
node [fillcolor=gray94, shape=box, style=filled]
myPrimitive [label="99", fontcolor=crimson]
aNumber [label="11"]
myPrimitiveC [label="77"]
/* references */
parent:proto -> root:proto [style = dashed]
child1:proto -> parent:proto [style = dashed]
child1:myPrimitive -> myPrimitiveC
child2:proto -> parent:proto [style = dashed]
parent:myPrimitive -> myPrimitive
parent:myObject -> myObject
myObject:aNumber -> aNumber
}