Skip to content

Commit 33462af

Browse files
Costa ShulyupinCosta Shulyupin
authored andcommitted
scale
1 parent ffa2d9a commit 33462af

File tree

1 file changed

+48
-44
lines changed

1 file changed

+48
-44
lines changed

Linux_kernel_diagram.dot

Lines changed: 48 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,20 @@ digraph matrix {
33
nodesep=0.1,
44
overlap=true,
55
ranksep=0.1,
6-
splines=false
6+
splines=false,
77
];
88
node [fixedsize=false,
9-
height=0.5,
9+
fontname=Ubuntu
10+
fontsize=24,
11+
height=1,
1012
shape=box,
1113
style="filled,setlinewidth(3)",
12-
width=1.1
14+
width=2.2
1315
];
1416
edge [arrowhead=none,
1517
arrowsize=0.5,
1618
style=invis,
19+
labelfontname="Ubuntu",
1720
weight=10
1821
];
1922
{
@@ -27,10 +30,10 @@ digraph matrix {
2730
system [color="#e27dd6ff",
2831
fillcolor=white,
2932
fixedsize=true,
30-
height=0.3,
33+
height=0.6,
3134
row=func,
3235
tooltip=TODO,
33-
width=1];
36+
width=2];
3437
system -> system_ [arrowhead="",
3538
color="#e27dd6ff",
3639
row=func,
@@ -49,16 +52,16 @@ digraph matrix {
4952
DM [color="#e27dd6ff",
5053
fillcolor="#91b5c9",
5154
fixedsize=true,
52-
fontsize=10,
53-
height=0.4,
55+
fontsize=20,
56+
height=0.8,
5457
label="Device\nModel",
5558
shape=octagon,
56-
width=1];
59+
width=2];
5760
sysfs -> DM [color="#e27dd6ff",
5861
style="filled,setlinewidth(3)"];
5962
log_sys [color="#e27dd6ff",
6063
fillcolor="#6a9ab1",
61-
fontsize=10,
64+
fontsize=20,
6265
label="system run,\nmodules,\ngeneric\nHW access "];
6366
DM -> log_sys [color="#e27dd6ff",
6467
style="filled,setlinewidth(3)"];
@@ -70,7 +73,7 @@ digraph matrix {
7073
H2 [color="#e27dd6ff",
7174
fillcolor="#777777",
7275
fontcolor=white,
73-
fontsize=10,
76+
fontsize=20,
7477
label="busess:\nPCI, USB ...",
7578
row=chip];
7679
bus_drv -> H2 [color="#e27dd6ff",
@@ -88,9 +91,9 @@ digraph matrix {
8891
networking [color="#61c2c5",
8992
fillcolor=white,
9093
fixedsize=true,
91-
height=0.3,
94+
height=0.6,
9295
row=func,
93-
width=1];
96+
width=2];
9497
networking -> networking_ [arrowhead="",
9598
color="#61c2c5",
9699
row=func,
@@ -113,25 +116,25 @@ digraph matrix {
113116
style="filled,setlinewidth(3)"];
114117
netif [color="#61c2c5",
115118
fillcolor="#71809b",
116-
fontsize=10,
119+
fontsize=20,
117120
label="network\ninterfaces\nand drivers"];
118121
log_prot -> netif [color="#61c2c5",
119122
style="filled,setlinewidth(3)"];
120123
net_hw [color="#61c2c5",
121124
fillcolor="#777777",
122125
fontcolor=white,
123-
fontsize=10,
126+
fontsize=20,
124127
label="network:\nEthernet, WiFi ...",
125128
row=chip];
126129
netif -> net_hw [color="#61c2c5",
127130
style="filled,setlinewidth(3)"];
128131
NFS [color="#8383cc",
129132
fillcolor="#91b5c9",
130133
fixedsize=true,
131-
height=0.4,
134+
height=0.8,
132135
label=NFS,
133136
shape=octagon,
134-
width=0.6];
137+
width=1.2];
135138
NFS -> log_prot [color="#61c2c5",
136139
style="filled,setlinewidth(3)",
137140
weight=0];
@@ -149,9 +152,9 @@ digraph matrix {
149152
storage [color="#8383cc",
150153
fillcolor=white,
151154
fixedsize=true,
152-
height=0.3,
155+
height=0.6,
153156
row=func,
154-
width=1];
157+
width=2];
155158
storage -> storage_ [arrowhead="",
156159
color="#8383cc",
157160
row=func,
@@ -172,35 +175,35 @@ digraph matrix {
172175
weight=0];
173176
logFS [color="#8383cc",
174177
fillcolor="#6a9ab1",
175-
fontsize=10,
178+
fontsize=20,
176179
label="logical\nfilesystems:\next3, xfs ..."];
177180
VFS -> logFS [color="#8383cc",
178181
style="filled,setlinewidth(3)"];
179182
PC [color="#51bf5b",
180183
fillcolor="#91b5c9",
181184
fixedsize=true,
182-
fontsize=10,
183-
height=0.4,
185+
fontsize=20,
186+
height=0.8,
184187
label="page\ncache",
185188
shape=octagon,
186-
width=0.6];
189+
width=1.2];
187190
VFS -> PC [color="#8383cc",
188191
style="filled,setlinewidth(3)",
189192
weight=0];
190193
mmap [color="#51bf5b",
191194
fillcolor="#91b5c9",
192195
fixedsize=true,
193-
fontsize=10,
194-
height=0.4,
196+
fontsize=20,
197+
height=0.8,
195198
label="memory\nmapping",
196199
shape=octagon,
197-
width=1];
200+
width=2];
198201
VFS -> mmap [color="#8383cc",
199202
style="filled,setlinewidth(3)",
200203
weight=0];
201204
block [color="#8383cc",
202205
fillcolor="#71809b",
203-
fontsize=10,
206+
fontsize=20,
204207
label="Block\ndevices\nand drivers"];
205208
logFS -> block [color="#8383cc",
206209
style="filled,setlinewidth(3)"];
@@ -213,7 +216,7 @@ digraph matrix {
213216
H4 [color="#8383cc",
214217
fillcolor="#777777",
215218
fontcolor=white,
216-
fontsize=10,
219+
fontsize=20,
217220
label="storage devices:\nSCSI, NVMe ...",
218221
row=chip];
219222
block -> H4 [color="#8383cc",
@@ -222,8 +225,9 @@ digraph matrix {
222225
fillcolor="#91b5c9",
223226
fixedsize=true,
224227
label=Swap,
228+
height=0.8,
225229
shape=octagon,
226-
width=0.6];
230+
width=1.2];
227231
SW -> block [color="#8383cc",
228232
style="filled,setlinewidth(3)",
229233
weight=0];
@@ -242,9 +246,9 @@ digraph matrix {
242246
processing [color="#c46747",
243247
fillcolor=white,
244248
fixedsize=true,
245-
height=0.3,
249+
height=0.6,
246250
row=func,
247-
width=1];
251+
width=2];
248252
processing -> processing_ [arrowhead="",
249253
color="#c46747",
250254
row=func,
@@ -262,7 +266,7 @@ digraph matrix {
262266
sync [color="#c46747",
263267
fillcolor="#91b5c9",
264268
fixedsize=true,
265-
fontsize=10,
269+
fontsize=20,
266270
label=synchronization,
267271
shape=octagon];
268272
Tasks -> sync [color="#c46747",
@@ -274,14 +278,14 @@ digraph matrix {
274278
style="filled,setlinewidth(3)"];
275279
IRQ [color="#c46747",
276280
fillcolor="#71809b",
277-
fontsize=10,
281+
fontsize=20,
278282
label="interrupts\ncore,\nCPU arch"];
279283
sched -> IRQ [color="#c46747",
280284
style="filled,setlinewidth(3)"];
281285
CPU [color="#c46747",
282286
fillcolor="#777777",
283287
fontcolor=white,
284-
fontsize=10,
288+
fontsize=20,
285289
row=chip];
286290
IRQ -> CPU [color="#c46747",
287291
style="filled,setlinewidth(3)"];
@@ -302,11 +306,11 @@ digraph matrix {
302306
HI [color="#cfbf57ff",
303307
fillcolor=white,
304308
fixedsize=true,
305-
fontsize=11,
306-
height=0.3,
309+
fontsize=20,
310+
height=0.6,
307311
label="human\ninterface",
308312
row=func,
309-
width=1];
313+
width=2];
310314
HI -> HI_ [arrowhead="",
311315
color="#cfbf57ff",
312316
row=func,
@@ -329,14 +333,14 @@ digraph matrix {
329333
style="filled,setlinewidth(3)"];
330334
G7 [color="#cfbf57ff",
331335
fillcolor="#71809b",
332-
fontsize=10,
336+
fontsize=20,
333337
label="HI\nperipherals\ndrivers"];
334338
F7 -> G7 [color="#cfbf57ff",
335339
style="filled,setlinewidth(3)"];
336340
H7 [color="#cfbf57ff",
337341
fillcolor="#777777",
338342
fontcolor=white,
339-
fontsize=10,
343+
fontsize=20,
340344
label="display, keyboard,\nmouse, audio",
341345
row=chip];
342346
G7 -> H7 [color="#cfbf57ff",
@@ -355,9 +359,9 @@ digraph matrix {
355359
memory [color="#51bf5b",
356360
fillcolor=white,
357361
fixedsize=true,
358-
height=0.3,
362+
height=0.6,
359363
row=func,
360-
width=1];
364+
width=2];
361365
storage -> memory [weight=1];
362366
processing;
363367
HI;
@@ -372,10 +376,10 @@ digraph matrix {
372376
functions [color=gray,
373377
fillcolor=gray,
374378
fixedsize=true,
375-
height=0.3,
379+
height=0.6,
376380
row=func,
377381
style=dashed,
378-
width=0.8];
382+
width=1.6];
379383
functions -> functions_ [arrowhead="",
380384
color=gray,
381385
style="",
@@ -522,7 +526,7 @@ digraph matrix {
522526
H5 [color="#51bf5b",
523527
fillcolor="#777777",
524528
fontcolor=white,
525-
fontsize=10,
529+
fontsize=20,
526530
label="MMU, RAM",
527531
row=chip];
528532
}
@@ -614,7 +618,7 @@ digraph matrix {
614618
layers -> usr [arrowhead="",
615619
color=gray,
616620
style="filled,setlinewidth(1)"];
617-
LKD [fontsize=20,
621+
LKD [fontsize=40,
618622
label="Linux kernel diagram",
619623
shape=plain,
620624
style=""];

0 commit comments

Comments
 (0)