-
Notifications
You must be signed in to change notification settings - Fork 11
/
README.read-request.dot
18 lines (17 loc) · 1.08 KB
/
README.read-request.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
digraph structs {
node [shape=record];
structread [shape=record,color=white,label="Read Request"];
subgraph clusterstore {
label = "Store";
structstore [shape=record,label="{ Dataset | Car | <f0> Car | Person }|{ Datakey | Ford | Subaru | Simon }|{ Version | 1 | 2 | 4 }|{ Info | \{...\} | \{ \"Color\": \"Red\" \} | \{...\} }"];
}
subgraph clusterqueue {
label = "Queue";
structqueue [shape=record,label="{ Position | 0 | <f1> 1 | 2 | 3 | 4 | 5 } | { Dataset | Person | Car | Car | Person | Car | <f2> Car }|{ Datakey | Simon | Subaru | Ford | Simon | Ford | Subaru }|{ Operation | Update | Set | Update | Set | Remove | Update }|{ Update | \{...\} | <f3> \{\"Seats\": \"Leather\"\} | \{...\} | \{...\} | \{...\} | <f4> \{ \"$inc \{ \"Likes\": 1 \}\} }"];
}
structresult [shape=record,color=white,label="\{ \"Seats\": \"Leather\", \"Likes\": 1 \}"];
structread -> structstore:f0 [color="red",style="bold"];
structstore:f0 -> structqueue:f1 [color="red",style="bold"];
structqueue:f3 -> structqueue:f4 [color="red",style="bold"];
structqueue:f4 -> structresult [color="red",style="bold"];
}