summaryrefslogtreecommitdiff
path: root/rpcstubs_fdp.dot
blob: b7a5b84cb2f21e9606e036f2f14629aeb0bdc9b9 (plain)
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
digraph rpcstubs {
    graph [margin=0.10];
    overlap=scale;
    fontsize=18;

    subgraph cluster_client {
        graph [label="Client process"];
        {node [fontsize=16]};

        {node [label="Algorithm 1", pos="0,0!"] algo1};
        {node [label="Algorithm 2", pos="2,0!"] algo2};

        {node [shape=record, pos="1,-1!",
            label="{ { <astub> Proc. A client stub | <bstub> Proc. B client stub } | <rpc> RPC runtime }"]
            clientstubs};

        algo1 -> clientstubs:astub:n;
        algo2 -> clientstubs:astub:c;
        algo2 -> clientstubs:bstub:c;
    }

    subgraph cluster_service {
        graph [label="Service process"];
        {node [fontsize=16]};

        {node [shape=record,
            label="{ { Proc. A impl. | Proc. B impl. } | { Proc. A service stub | Proc. B service stub } | <rpc> RPC runtime }"]
                service};
    }

    clientstubs:rpc -> service:rpc [len=5];
}