-
Notifications
You must be signed in to change notification settings - Fork 0
/
directories.dot
51 lines (45 loc) · 1.33 KB
/
directories.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
43
44
45
46
47
48
49
50
51
digraph dependencies {
ratio=.5;
fontname="Mono";
// Directories
// LOC are "total" and "SLOC for non-test files" according to
// logcabin/scripts/loc.sh, last updated 2015-07-17
node [shape="ellipse", style="filled", fillcolor="#fdae61", fontsize=24];
Client [label="Client/\n3-6K LOC"];
Core [label="Core/\n3-7K LOC"];
Event [label="Event/\n1-2K LOC"];
Examples [label="Examples/\n1-2K LOC"];
Protocol [label="Protocol/\n0-1K LOC"];
RPC [label="RPC/\n2-7K LOC"];
Server [label="Server/\n5-13K LOC"];
Storage [label="Storage/\n3-7K LOC"];
Tree [label="Tree/\n1-2K LOC"];
// Binaries
node [shape="box", style="filled", fillcolor="#abdda4"];
ClientLib [label="liblogcabin.a"];
Main [label="logcabind\n(LogCabin)"];
Reconfigure [label="logcabin-reconfigure\n(Reconfigure)"];
ServerControl [label="logcabinctl\n(ServerControl)"];
StorageTool [label="logcabin-storage\n(Storage/Tool)"];
TreeOps [label="logcabin\n(TreeOps)"];
// Dependencies
Client -> RPC;
Client -> Tree [style="dashed", weight=.5];
Event -> Core;
Examples -> ClientLib;
RPC -> Event;
RPC -> Protocol;
Server -> RPC;
Server -> Storage;
Server -> Tree;
Storage -> Core;
Tree -> Core;
Tree -> Protocol;
// Binary locations
ClientLib -> Client;
Main -> Server;
Reconfigure -> Examples;
ServerControl -> Client;
StorageTool -> Storage;
TreeOps -> Examples;
} // must be last line in file for Makefile