-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsystem_overview.dot
149 lines (134 loc) · 3.57 KB
/
system_overview.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
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
140
141
142
143
144
145
146
147
148
149
// Build with:
//dot -Tpng -o overview.png system_overview.dot
digraph system_overview {
rankdir="LR";
edge[color="blue"];
subgraph cluster_components {
graph[style=dashed];
label="Komponenter";
lddb [label="Databas"];
search [label="Sökmotor"];
marc_converter [label="MARC-konverterare"];
transform [label="Transformationsskript"];
}
marc_converter -> {
defs
model
} [color="green"];
transform -> {
lddb
search
} [color="red"];
subgraph cluster_metadata {
graph[style=dashed];
label="Metadata";
defs [label="Definitions"];
model [label="Datamodell"];
help [label="Hjälp"];
}
defs -> { defs_importer };
help -> {
viewer
model
defs
} [color="green"];
subgraph cluster_apis {
graph[style=dashed];
label="APIer";
apix [label="APIX"];
http_api [label="HTTP-API"]; // subgraph?
oaipmh [label="OAI-PMH"];
search_api [label="Sök-API"];
write_api [label="Skriv-API"];
record [label="JSON-LD-poster"];
}
apix -> {
lddb
marc_converter
};
write_api -> { auth };
write_api -> { lddb }[color="red"];
oaipmh -> {
lddb
marc_converter
} ;
search_api -> { search };
record -> { lddb };
subgraph cluster_importers {
graph[style=dashed];
label="Import";
import_program [label="Importprogram"];
metadata_funnel [label="Metadatatratten"];
data_importer [label="Data-importer"];
defs_importer [label="Definitions-importer"];
}
import_program -> {
marc_converter
};
import_program -> {
search
}[color="red"];
import_program -> {
lddb
} [color="red"];
data_importer -> {
lddb
search
} [color="red"];
defs_importer -> {
data_importer
};
metadata_funnel -> { import_program };
subgraph cluster_exporters {
graph[style=dashed];
label="Export";
batch [label="Batch-export"];
export_program [label="Exportprogram"];
wdb [label="Wdb (Webbsök)"];
}
batch -> { export_program };
export_program -> {
oaipmh
};
wdb -> { oaipmh };
subgraph cluster_webservices {
graph[style=dashed];
label="Webbtjänster";
viewer [label="Visningsklient"];
editor [label="Redigeringsklient"];
id [label="id.kb.se"];
auth [label="Autentiseringstjänst"];
bibdb [label="BibDB"];
}
viewer -> {
search_api
record
};
editor -> {
auth
viewer
};
id -> { viewer };
auth -> { bibdb };
/**
* LEGEND
*/
subgraph cluster_legend {
style="dotted";
node [shape=plaintext]
label = "Legend";
key [label=<<table border="0" cellpadding="2" cellspacing="0" cellborder="0">
<tr><td align="right" port="i1">depends on</td></tr>
<tr><td align="right" port="i2">writes to</td></tr>
<tr><td align="right" port="i3">conforms to</td></tr>
</table>>]
key2 [label=<<table border="0" cellpadding="2" cellspacing="0" cellborder="0">
<tr><td port="i1"> </td></tr>
<tr><td port="i2"> </td></tr>
<tr><td port="i3"> </td></tr>
</table>>]
key:i1:e -> key2:i1:w [clor=blue]
key:i2:e -> key2:i2:w [color=red]
key:i3:e -> key2:i3:w [color=green]
}
}