summaryrefslogtreecommitdiff
path: root/doc/structure.dot
blob: 5874fb73ac661c2d4596d626314c46f80c2a8162 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
// house = application
// circle (default) = service
// box = daemon
// diamond = library
// black line = dependency
// blue line = extension via plugin
// red line = possibly useful 
// dashed = in planning

// this is what we have...o
digraph dependencies {
splines = true;

  fs [shape=house];
  fs -> dht;
  fs -> core;
  fs -> datastore;
  fs -> mesh;
  fs -> ats;
  fs -> block [style=dotted,color=blue];
  fs -> identity;
  exit [shape=box];
  exit -> mesh;
  exit -> tun;
  vpn -> mesh;
  vpn -> regex;
  vpn -> tun;
  pt [shape=house];
  pt -> mesh;
  pt -> vpn;
  pt -> dns;
  dv -> ats;
  dns -> tun;
  gns [shape=house];
  gns -> namestore;
  gns -> dns;
  gns -> dht;
  gns -> block [style=dotted,color=blue];
  gns -> identity;
  gns -> revocation;
  revocation -> core;
  revocation -> set;
  namestore -> identity;
  dht -> core;
  dht -> nse;
  dht -> block;
  dht -> datacache;
  dht -> peerinfo;
  dht -> hello;
  nse -> core;
  regex -> block [style=dotted,color=blue];
  block [shape=diamond];
  datacache [shape=diamond];
  mesh -> core [weight=2];
  mesh -> dht;
  mesh -> block [style=dotted,color=blue];
  conversation [shape=house];
  conversation -> mesh;
  conversation -> gns;
  regex -> dht;
  core -> transport;
  topology [shape=box];
  topology -> peerinfo;
  topology -> transport;
  topology -> core;
  topology -> hello;
  hostlist [shape=box];
  hostlist -> core;
  hostlist -> peerinfo;
  hostlist -> hello;
  transport -> ats;
  transport -> hello;	  
  transport -> peerinfo;
  transport -> nat;
  transport -> fragmentation;
  dv [shape=egg];
  dv -> transport [color=blue,style=dotted];
  dv -> core;
  dv -> set;
  consensus -> set;
  consensus -> mesh;
  scalarproduct -> set;
  scalarproduct -> mesh;
  set -> mesh;
  peerinfo -> hello;
  fragmentation [shape=diamond];
  hello [shape=diamond];
  nat [shape=diamond];
  tun [shape=diamond];
}

// this is what might happen...
digraph plan {
splines = true;

// // secushare roadmap:
  secushare [shape=house,style=dashed];
  psyc [style=dashed];
  secushare -> psyc [style=dashed];
  secushare -> voting [style=dashed,color=red];
  secushare -> gns [style=dashed];
  secushare -> fs [style=dashed,color=red];
  secushare -> reuters [style=dashed,color=red];
  secushare -> messaging [style=dashed,color=red];
  psyc -> multicast [style=dashed];

// // voting roadmap:
  voting [shape=house,style=dashed];
  voting -> consensus [style=dashed];
  voting -> mesh [style=dashed,color=red];

// // reuters roadmap:
  reuters [shape=house,style=dashed];
  dotproduct [style=dashed];
  reuters -> dotproduct [style=dashed];
  dotproduct -> set [style=dashed];
  dotproduct -> mesh [style=dashed];
  messaging [style=dashed];  
  messaging -> regex [style=dashed];
  messaging -> mesh [style=dashed];
  messaging -> dht [style=dashed];
  reuters -> messaging [style=dashed,color=red];
  reuters -> multicast [style=dashed,color=red];
  reuters -> mesh [style=dashed,color=red];
  reuters -> core [style=dashed,color=red];


// // core roadmap:
  dht -> ats [style=dashed,color=red];
  mesh -> ats [style=dashed,color=red];
  vpn -> multicast [style=dashed,color=red];
  exit -> multicast [style=dashed,color=red];
  multicast [style=dashed];
  multicast -> mesh [style=dashed];

  fs [shape=house];
  gns [shape=house];
  exit [shape=box];
}