2 | | digraph datalink { |
3 | | node [shape=record]; |
4 | | subgraph cluster0 { |
5 | | label = "Up"; |
6 | | up [label="<1>|<2>|<3>|<4>|<5>"]; |
7 | | color = "white" |
8 | | } |
9 | | subgraph cluster1{ |
10 | | label = "Down"; |
11 | | labelloc = b; |
12 | | down [label="<1>|<2>|<3>"]; |
13 | | color = "white" |
14 | | } |
15 | | up:1 -> down:1; |
16 | | up:3 -> down:2; |
17 | | up:5 -> down:3; |
18 | | } |
19 | | |
| 2 | digraph datalink { |
| 3 | rankdir=LR; |
| 4 | subgraph cluster0 { |
| 5 | node [shape=record]; |
| 6 | label = "RV_MAP \n std::map<string,int>"; |
| 7 | map [label="{{\"a\"| \"b\" | \"c\"} | {<3> 3 |<1> 1|<2> 2}}"]; |
| 8 | color = "white" |
| 9 | } |
| 10 | subgraph cluster1{ |
| 11 | node [shape=record]; |
| 12 | label = "RV_NAMES"; |
| 13 | names [label="{<1> \"b\" | <2> \"c\" | <3>\"a\" }"]; |
| 14 | color = "white" |
| 15 | } |
| 16 | subgraph cluster2{ |
| 17 | node [shape=record]; |
| 18 | label = "RV_SIZES"; |
| 19 | labelloc = b; |
| 20 | sizes [label="{<1>1 |<2> 4 |<3> 1}"]; |
| 21 | color = "white" |
| 22 | } |
| 23 | map:1 -> names:1; |
| 24 | map:1 -> sizes:1; |
| 25 | map:3 -> names:3; |
| 26 | map:3 -> sizes:3; |
| 27 | } |