-
Notifications
You must be signed in to change notification settings - Fork 30
/
design.dot
48 lines (38 loc) · 1.31 KB
/
design.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
# dot -T png design.dot >design.png && xv design.png
digraph Hefur
{
fontname="monospace";
fontsize=8;
node [fontname="monospace",fontsize=8,shape="record"];
edge [fontname="monospace",fontsize=8,shape="record"];
Hefur [shape=record,label="{Hefur|/Singleton/}"];
TorrentDb;
Torrent;
Peer;
HttpServer;
AnnounceRequest;
AnnounceResponse;
AnnounceHandler;
ScrapeRequest;
ScrapeResponse;
ScrapeHandler;
StatHandler;
UdpServer;
FsTreeWhiteList;
Hefur -> TorrentDb [arrowhead=diamond];
Hefur -> FsTreeWhiteList [arrowhead=diamond];
Hefur -> HttpServer [arrowhead=diamond];
Hefur -> UdpServer [arrowhead=diamond];
Torrent -> Peer [arrowhead=odiamond];
TorrentDb -> Torrent [arrowhead=odiamond];
HttpServer -> AnnounceHandler [arrowhead=diamond];
HttpServer -> ScrapeHandler [arrowhead=diamond];
HttpServer -> StatHandler [arrowhead=diamond];
AnnounceHandler -> AnnounceRequest;
ScrapeHandler -> ScrapeRequest;
UdpServer -> AnnounceRequest;
UdpServer -> ScrapeRequest;
AnnounceRequest -> AnnounceResponse;
ScrapeRequest -> ScrapeResponse;
FsTreeWhiteList -> TorrentDb;
}