This commit is contained in:
Costa Shulyupin 2021-12-24 07:39:42 +02:00
parent d65d7f3ded
commit 0c66915817
1 changed files with 31 additions and 43 deletions

View File

@ -1,6 +1,5 @@
digraph "Linux_kernel_diagram" { digraph "Linux_kernel_diagram" {
graph [ graph [
newrank = true, newrank = true,
nodesep = 0.3, nodesep = 0.3,
ranksep = 0.2, ranksep = 0.2,
@ -17,7 +16,6 @@ digraph "Linux_kernel_diagram" {
width = 2.2 width = 2.2
] ]
edge [ edge [
arrowhead = none, arrowhead = none,
arrowsize = 0.5, arrowsize = 0.5,
labelfontname = "Ubuntu", labelfontname = "Ubuntu",
@ -43,7 +41,7 @@ digraph "Linux_kernel_diagram" {
width = 2] width = 2]
system -> system_ [ system -> system_ [
arrowhead = "", arrowhead = "",
row = func] row = func];
SCI [ SCI [
URL = "https://en.wikibooks.org/wiki/The_Linux_Kernel/Syscalls", URL = "https://en.wikibooks.org/wiki/The_Linux_Kernel/Syscalls",
fillcolor = "#d9e7ee", fillcolor = "#d9e7ee",
@ -194,7 +192,7 @@ digraph "Linux_kernel_diagram" {
subgraph mem { subgraph mem {
node [ node [
color = "#51bf5b", color = "#51bf5b",
height = 0.5 height = 1
] ]
edge [color = "#51bf5b"] edge [color = "#51bf5b"]
MA [ MA [
@ -216,7 +214,6 @@ digraph "Linux_kernel_diagram" {
width = 2] width = 2]
mmap -> log_mem mmap -> log_mem
log_mem -> PA log_mem -> PA
//VFS -> SW [ style = invis]
SW [ SW [
color = "#8383cc", color = "#8383cc",
fillcolor = "#91b5c9", fillcolor = "#91b5c9",
@ -278,8 +275,7 @@ digraph "Linux_kernel_diagram" {
label = "Virtual\nFile System"] label = "Virtual\nFile System"]
FS -> VFS FS -> VFS
VFS -> mmap [weight = 0] VFS -> mmap [weight = 0]
VFS -> NFS [ VFS -> NFS [weight = 0]
weight = 0]
logFS [ logFS [
fillcolor = "#6a9ab1", fillcolor = "#6a9ab1",
fontsize = 20, fontsize = 20,
@ -360,8 +356,7 @@ digraph "Linux_kernel_diagram" {
HID -> display HID -> display
} // HI } // HI
subgraph functions { subgraph functions {
graph [ graph [rank = same]
rank = same]
edge [ edge [
style = invis, style = invis,
weight = 1 weight = 1
@ -379,8 +374,7 @@ digraph "Linux_kernel_diagram" {
row = func, row = func,
width = 2] width = 2]
memory -> storage [weight = 1] memory -> storage [weight = 1]
processing -> memory [ processing -> memory [weight = 1]
weight = 1]
functions_ [ functions_ [
fixedsize = true, fixedsize = true,
height = 0, height = 0,
@ -453,8 +447,7 @@ digraph "Linux_kernel_diagram" {
memory_ -> MA; memory_ -> MA;
} }
subgraph virtual { subgraph virtual {
graph [ graph [rank = same]
rank = same]
sysfs; sysfs;
prot_fam; prot_fam;
VFS; VFS;
@ -478,8 +471,7 @@ digraph "Linux_kernel_diagram" {
label = "Virtual\nmemory"] label = "Virtual\nmemory"]
} }
subgraph bridges { subgraph bridges {
graph [ graph [rank = same]
rank = same]
bridges [ bridges [
fillcolor = "#91b5c9", fillcolor = "#91b5c9",
shape = octagon, shape = octagon,
@ -499,8 +491,7 @@ digraph "Linux_kernel_diagram" {
//PC //PC
} }
subgraph logical { subgraph logical {
graph [ graph [rank = same]
rank = same]
log_sys; log_sys;
log_prot; log_prot;
logFS; logFS;
@ -541,8 +532,7 @@ digraph "Linux_kernel_diagram" {
width = 0] width = 0]
} }
subgraph HW { subgraph HW {
graph [ graph [rank = same]
rank = same]
HW [ HW [
fillcolor = "#777777", fillcolor = "#777777",
fontcolor = white, fontcolor = white,
@ -566,16 +556,14 @@ digraph "Linux_kernel_diagram" {
label = "© 2007-2021 Constantine Shulyupin http://www.MakeLinux.net/kernel/diagram", label = "© 2007-2021 Constantine Shulyupin http://www.MakeLinux.net/kernel/diagram",
shape = plaintext, shape = plaintext,
style = ""] style = ""]
CPU -> bottom [ CPU -> bottom [style = invis]
style = invis]
layers [ layers [
fillcolor = lightgray, fillcolor = lightgray,
tooltip = "Functionalities are divided to common layers. It is approximate division.", tooltip = "Functionalities are divided to common layers. It is approximate division.",
height = 0.1, height = 0.1,
style = "filled,setlinewidth(0)", style = "filled,setlinewidth(0)",
width = 0.5] width = 0.5]
functions -> layers [ functions -> layers [style = invis ]
style = invis ]
usr -> usr_ [ usr -> usr_ [
arrowhead = "", arrowhead = "",
color = "#d9e7eeff", color = "#d9e7eeff",