Skip to content

Commit d83b6dd

Browse files
Costa ShulyupinCosta Shulyupin
authored andcommitted
names
1 parent 111d0b6 commit d83b6dd

1 file changed

Lines changed: 46 additions & 60 deletions

File tree

Linux_kernel_diagram.dot

Lines changed: 46 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ digraph matrix {
1919
weight=10,
2020
style="filled,setlinewidth(5)"
2121
];
22-
{
22+
subgraph system {
2323
node [color="#e27dd6ff"];
2424
system_ [color="#e27dd6ff",
2525
fixedsize=true,
@@ -67,15 +67,15 @@ digraph matrix {
6767
fillcolor="#71809b",
6868
label="bus drivers"];
6969
log_sys -> bus_drv [color="#e27dd6ff"];
70-
H2 [color="#e27dd6ff",
70+
buses [color="#e27dd6ff",
7171
fillcolor="#777777",
7272
fontcolor=white,
7373
fontsize=20,
74-
label="busess:\nPCI, USB ...",
74+
label="buses:\nPCI, USB ...",
7575
row=chip];
76-
bus_drv -> H2 [color="#e27dd6ff"];
76+
bus_drv -> buses [color="#e27dd6ff"];
7777
}
78-
{
78+
subgraph networking {
7979
node [color="#61c2c5"];
8080
edge [color="#61c2c5"];
8181
networking_ [color="#61c2c5",
@@ -131,7 +131,7 @@ digraph matrix {
131131
NFS -> log_prot [color="#61c2c5",
132132
weight=0];
133133
}
134-
{
134+
subgraph storage {
135135
node [color="#8383cc"];
136136
edge [color="#8383cc"];
137137
NFS;
@@ -176,8 +176,8 @@ digraph matrix {
176176
label="page\ncache",
177177
shape=octagon,
178178
width=1.2];
179-
VFS -> PC [color="#8383cc",
180-
weight=0];
179+
PC -> PA [color="#51bf5b", weight=0];
180+
VFS -> PC [color="#8383cc", weight=0];
181181
mmap [color="#51bf5b",
182182
fillcolor="#91b5c9",
183183
fixedsize=true,
@@ -196,15 +196,13 @@ digraph matrix {
196196
PA [color="#51bf5b",
197197
fillcolor="#71809b",
198198
label="Page\nAllocator"];
199-
PC -> PA [color="#51bf5b",
200-
weight=0];
201-
H4 [color="#8383cc",
199+
SD [color="#8383cc",
202200
fillcolor="#777777",
203201
fontcolor=white,
204202
fontsize=20,
205203
label="storage devices:\nSCSI, NVMe ...",
206204
row=chip];
207-
block -> H4 [color="#8383cc"];
205+
block -> SD [color="#8383cc"];
208206
SW [color="#8383cc",
209207
fillcolor="#91b5c9",
210208
fixedsize=true,
@@ -214,8 +212,8 @@ digraph matrix {
214212
width=1.2];
215213
SW -> block [color="#8383cc",
216214
weight=0];
217-
}
218-
{
215+
} // storge
216+
subgraph processing {
219217
node [color="#c46747"];
220218
edge [color="#c46747"];
221219
processing_ [color="#c46747",
@@ -268,8 +266,8 @@ digraph matrix {
268266
fontsize=20,
269267
row=chip];
270268
IRQ -> CPU [color="#c46747"];
271-
}
272-
{
269+
} // processing
270+
subgraph HI {
273271
node [color="#cfbf57ff",
274272

275273
];
@@ -315,15 +313,15 @@ digraph matrix {
315313
label="HI\nperipherals\ndrivers"];
316314
F7 -> HID [color="#cfbf57ff"
317315
];
318-
H7 [color="#cfbf57ff",
316+
display [color="#cfbf57ff",
319317
fillcolor="#777777",
320318
fontcolor=white,
321-
fontsize=20,
322-
label="display, keyboard,\nmouse, audio",
319+
fontsize=19,
320+
label="keyboard, mouse,\ndisplay, audio",
323321
row=chip];
324-
HID -> H7 [color="#cfbf57ff" ];
325-
}
326-
{
322+
HID -> display [color="#cfbf57ff" ];
323+
} // HI
324+
subgraph functions {
327325
graph [rank=same];
328326
edge [style=invis,
329327
weight=1
@@ -365,7 +363,7 @@ digraph matrix {
365363
style="",
366364
weight=""];
367365
}
368-
{
366+
subgraph interfaces {
369367
graph [rank=same];
370368
SCI;
371369
sock;
@@ -391,9 +389,7 @@ digraph matrix {
391389
shape=ellipse];
392390
}
393391
{
394-
edge [style=invis,
395-
weight=10
396-
];
392+
edge [style=invis weight=10 ];
397393
system_;
398394
SCI;
399395
system_ -> SCI;
@@ -417,7 +413,7 @@ digraph matrix {
417413
width=0];
418414
memory_ -> MA;
419415
}
420-
{
416+
subgraph virtual {
421417
graph [rank=same];
422418
sysfs;
423419
prot_fam;
@@ -438,8 +434,13 @@ digraph matrix {
438434
fillcolor="#b2d3e4",
439435
label="Virtual\nmemory"];
440436
}
441-
{
437+
subgraph bridges {
442438
graph [rank=same];
439+
bridges [fillcolor="#91b5c9",
440+
shape=octagon,
441+
tooltip="bridges between uniform virtual interfaces and various implementations",
442+
URL="https://en.wikipedia.org/wiki/Bridge_pattern",
443+
style="filled,setlinewidth(0)"];
443444
DM;
444445
NFS;
445446
mmap;
@@ -449,13 +450,8 @@ digraph matrix {
449450
shape=point,
450451
style=invis,
451452
width=0];
452-
bridges [fillcolor="#91b5c9",
453-
shape=octagon,
454-
tooltip="bridges between uniform virtual interfaces and various implementations",
455-
URL="https://en.wikipedia.org/wiki/Bridge_pattern",
456-
style="filled,setlinewidth(0)"];
457453
}
458-
{
454+
subgraph logical {
459455
graph [rank=same];
460456
log_sys;
461457
log_prot;
@@ -473,8 +469,11 @@ digraph matrix {
473469
fillcolor="#6a9ab1",
474470
label="logical\nmemory"];
475471
}
476-
{
472+
subgraph HWI {
477473
graph [rank=same];
474+
HWI [fillcolor="#71809b",
475+
label="hardware\ninterfaces",
476+
style="filled,setlinewidth(0)"];
478477
bus_drv;
479478
netif;
480479
block;
@@ -486,28 +485,25 @@ digraph matrix {
486485
shape=point,
487486
style=invis,
488487
width=0];
489-
HWI [fillcolor="#71809b",
490-
label="hardware\ninterfaces",
491-
style="filled,setlinewidth(0)"];
492488
}
493-
{
489+
subgraph HW {
494490
graph [rank=same];
495-
H2;
491+
HW [fillcolor="#777777",
492+
fontcolor=white,
493+
label="electronics,\nhardware",
494+
row=chip,
495+
style="filled,setlinewidth(0)"];
496+
buses;
496497
net_hw;
497-
H4;
498+
SD;
498499
CPU;
499-
H7;
500+
display;
500501
H0 [fixedsize=true,
501502
height=0,
502503
shape=point,
503504
style=invis,
504505
width=0];
505-
HW [fillcolor="#777777",
506-
fontcolor=white,
507-
label="electronics,\nhardware",
508-
row=chip,
509-
style="filled,setlinewidth(0)"];
510-
H5 [color="#51bf5b",
506+
RAM [color="#51bf5b",
511507
fillcolor="#777777",
512508
fontcolor=white,
513509
fontsize=20,
@@ -519,28 +515,18 @@ digraph matrix {
519515
height=0.5
520516
];
521517
edge [color="#51bf5b"];
522-
PC;
523-
mmap;
524-
SW;
525518
mmap -> SW [color="#51bf5b",
526519
weight=0];
527-
log_mem;
528520
mmap -> log_mem [color="#51bf5b"];
529-
PA;
530-
H5;
531-
PA -> H5 [color="#51bf5b"];
532-
memory;
533-
memory_;
521+
PA -> RAM [color="#51bf5b"];
534522
memory -> memory_ [arrowhead="",
535523
color="#51bf5b",
536524
row=func];
537-
MA;
538-
VM;
539525
MA -> VM [color="#51bf5b"];
540526
VM -> mmap [color="#51bf5b"];
541527
log_mem -> PA [color="#51bf5b"];
542528
}
543-
bottom [label="© 2007-2020 Constantine Shulyupin http://www.MakeLinux.net/kernel/diagram",
529+
bottom [label="© 2007-2021 Constantine Shulyupin http://www.MakeLinux.net/kernel/diagram",
544530
shape=plaintext,
545531
style=""];
546532
H4 -> bottom [style=invis];

0 commit comments

Comments
 (0)