This commit is contained in:
parent
d65d7f3ded
commit
0c66915817
|
@ -1,6 +1,5 @@
|
|||
digraph "Linux_kernel_diagram" {
|
||||
graph [
|
||||
|
||||
newrank = true,
|
||||
nodesep = 0.3,
|
||||
ranksep = 0.2,
|
||||
|
@ -17,7 +16,6 @@ digraph "Linux_kernel_diagram" {
|
|||
width = 2.2
|
||||
]
|
||||
edge [
|
||||
|
||||
arrowhead = none,
|
||||
arrowsize = 0.5,
|
||||
labelfontname = "Ubuntu",
|
||||
|
@ -43,8 +41,8 @@ digraph "Linux_kernel_diagram" {
|
|||
width = 2]
|
||||
system -> system_ [
|
||||
arrowhead = "",
|
||||
row = func]
|
||||
SCI [
|
||||
row = func];
|
||||
SCI [
|
||||
URL = "https://en.wikibooks.org/wiki/The_Linux_Kernel/Syscalls",
|
||||
fillcolor = "#d9e7ee",
|
||||
fixedsize = true,
|
||||
|
@ -82,8 +80,8 @@ digraph "Linux_kernel_diagram" {
|
|||
bus_drv -> buses
|
||||
}
|
||||
subgraph networking {
|
||||
node [ color = "#61c2c5"]
|
||||
edge [ color = "#61c2c5"]
|
||||
node [color = "#61c2c5"]
|
||||
edge [color = "#61c2c5"]
|
||||
networking_ [
|
||||
fixedsize = true,
|
||||
height = 0,
|
||||
|
@ -135,11 +133,11 @@ digraph "Linux_kernel_diagram" {
|
|||
label = NFS,
|
||||
shape = octagon,
|
||||
width = 1.2]
|
||||
NFS -> log_prot [ weight = 0]
|
||||
NFS -> log_prot [weight = 0]
|
||||
}
|
||||
subgraph processing {
|
||||
node [ color = "#c46747"]
|
||||
edge [ color = "#c46747"]
|
||||
node [color = "#c46747"]
|
||||
edge [color = "#c46747"]
|
||||
processing_ [
|
||||
fixedsize = true,
|
||||
height = 0,
|
||||
|
@ -194,9 +192,9 @@ digraph "Linux_kernel_diagram" {
|
|||
subgraph mem {
|
||||
node [
|
||||
color = "#51bf5b",
|
||||
height = 0.5
|
||||
height = 1
|
||||
]
|
||||
edge [ color = "#51bf5b"]
|
||||
edge [color = "#51bf5b"]
|
||||
MA [
|
||||
color = "#51bf5b",
|
||||
fillcolor = "#d9e7ee",
|
||||
|
@ -216,7 +214,6 @@ digraph "Linux_kernel_diagram" {
|
|||
width = 2]
|
||||
mmap -> log_mem
|
||||
log_mem -> PA
|
||||
//VFS -> SW [ style = invis]
|
||||
SW [
|
||||
color = "#8383cc",
|
||||
fillcolor = "#91b5c9",
|
||||
|
@ -225,7 +222,7 @@ digraph "Linux_kernel_diagram" {
|
|||
height = 0.8,
|
||||
shape = octagon,
|
||||
width = 1.2]
|
||||
mmap -> SW [ weight = 1]
|
||||
mmap -> SW [weight = 1]
|
||||
SW -> block [
|
||||
color = "#8383cc", weight = 1]
|
||||
PA [
|
||||
|
@ -248,8 +245,8 @@ digraph "Linux_kernel_diagram" {
|
|||
VM -> mmap
|
||||
} // mem
|
||||
subgraph storage {
|
||||
node [ color = "#8383cc"]
|
||||
edge [ color = "#8383cc"]
|
||||
node [color = "#8383cc"]
|
||||
edge [color = "#8383cc"]
|
||||
NFS;
|
||||
storage_ [
|
||||
shape = point,
|
||||
|
@ -277,9 +274,8 @@ digraph "Linux_kernel_diagram" {
|
|||
fillcolor = "#b2d3e4",
|
||||
label = "Virtual\nFile System"]
|
||||
FS -> VFS
|
||||
VFS -> mmap [ weight = 0]
|
||||
VFS -> NFS [
|
||||
weight = 0]
|
||||
VFS -> mmap [weight = 0]
|
||||
VFS -> NFS [weight = 0]
|
||||
logFS [
|
||||
fillcolor = "#6a9ab1",
|
||||
fontsize = 20,
|
||||
|
@ -293,7 +289,7 @@ digraph "Linux_kernel_diagram" {
|
|||
label = "page\ncache",
|
||||
shape = octagon,
|
||||
width = 1.2]
|
||||
VFS -> PC [ weight = 0]
|
||||
VFS -> PC [weight = 0]
|
||||
block [
|
||||
fillcolor = "#71809b",
|
||||
fontsize = 20,
|
||||
|
@ -360,16 +356,15 @@ digraph "Linux_kernel_diagram" {
|
|||
HID -> display
|
||||
} // HI
|
||||
subgraph functions {
|
||||
graph [
|
||||
rank = same]
|
||||
graph [rank = same]
|
||||
edge [
|
||||
style = invis,
|
||||
weight = 1
|
||||
]
|
||||
system;
|
||||
networking;
|
||||
system -> processing [ weight = 1]
|
||||
storage -> networking [ weight = 1]
|
||||
system -> processing [weight = 1]
|
||||
storage -> networking [weight = 1]
|
||||
memory [
|
||||
color = "#51bf5b",
|
||||
URL = "https://en.wikibooks.org/wiki/The_Linux_Kernel/Memory",
|
||||
|
@ -378,16 +373,15 @@ digraph "Linux_kernel_diagram" {
|
|||
height = 0.6,
|
||||
row = func,
|
||||
width = 2]
|
||||
memory -> storage [ weight = 1]
|
||||
processing -> memory [
|
||||
weight = 1]
|
||||
memory -> storage [weight = 1]
|
||||
processing -> memory [weight = 1]
|
||||
functions_ [
|
||||
fixedsize = true,
|
||||
height = 0,
|
||||
shape = point
|
||||
style = invis,
|
||||
width = 0]
|
||||
functions_ -> HI -> system [ weight = 1]
|
||||
functions_ -> HI -> system [weight = 1]
|
||||
functions [
|
||||
color = gray,
|
||||
tooltip = "Columns represent main functionalities of the kernel",
|
||||
|
@ -405,7 +399,7 @@ digraph "Linux_kernel_diagram" {
|
|||
weight = ""]
|
||||
}
|
||||
subgraph interfaces {
|
||||
graph [ rank = same]
|
||||
graph [rank = same]
|
||||
SCI;
|
||||
sock;
|
||||
FS;
|
||||
|
@ -427,7 +421,7 @@ digraph "Linux_kernel_diagram" {
|
|||
MA;
|
||||
}
|
||||
{
|
||||
edge [ style = invis weight = 10 ]
|
||||
edge [style = invis weight = 10 ]
|
||||
system_;
|
||||
SCI;
|
||||
system_ -> SCI;
|
||||
|
@ -453,8 +447,7 @@ digraph "Linux_kernel_diagram" {
|
|||
memory_ -> MA;
|
||||
}
|
||||
subgraph virtual {
|
||||
graph [
|
||||
rank = same]
|
||||
graph [rank = same]
|
||||
sysfs;
|
||||
prot_fam;
|
||||
VFS;
|
||||
|
@ -478,8 +471,7 @@ digraph "Linux_kernel_diagram" {
|
|||
label = "Virtual\nmemory"]
|
||||
}
|
||||
subgraph bridges {
|
||||
graph [
|
||||
rank = same]
|
||||
graph [rank = same]
|
||||
bridges [
|
||||
fillcolor = "#91b5c9",
|
||||
shape = octagon,
|
||||
|
@ -499,8 +491,7 @@ digraph "Linux_kernel_diagram" {
|
|||
//PC
|
||||
}
|
||||
subgraph logical {
|
||||
graph [
|
||||
rank = same]
|
||||
graph [rank = same]
|
||||
log_sys;
|
||||
log_prot;
|
||||
logFS;
|
||||
|
@ -522,7 +513,7 @@ digraph "Linux_kernel_diagram" {
|
|||
//SW
|
||||
}
|
||||
subgraph HWI {
|
||||
graph [ rank = same]
|
||||
graph [rank = same]
|
||||
HWI [
|
||||
fillcolor = "#71809b",
|
||||
label = "hardware\ninterfaces",
|
||||
|
@ -541,8 +532,7 @@ digraph "Linux_kernel_diagram" {
|
|||
width = 0]
|
||||
}
|
||||
subgraph HW {
|
||||
graph [
|
||||
rank = same]
|
||||
graph [rank = same]
|
||||
HW [
|
||||
fillcolor = "#777777",
|
||||
fontcolor = white,
|
||||
|
@ -566,16 +556,14 @@ digraph "Linux_kernel_diagram" {
|
|||
label = "© 2007-2021 Constantine Shulyupin http://www.MakeLinux.net/kernel/diagram",
|
||||
shape = plaintext,
|
||||
style = ""]
|
||||
CPU -> bottom [
|
||||
style = invis]
|
||||
CPU -> bottom [style = invis]
|
||||
layers [
|
||||
fillcolor = lightgray,
|
||||
tooltip = "Functionalities are divided to common layers. It is approximate division.",
|
||||
height = 0.1,
|
||||
style = "filled,setlinewidth(0)",
|
||||
width = 0.5]
|
||||
functions -> layers [
|
||||
style = invis ]
|
||||
functions -> layers [style = invis ]
|
||||
usr -> usr_ [
|
||||
arrowhead = "",
|
||||
color = "#d9e7eeff",
|
||||
|
@ -635,5 +623,5 @@ digraph "Linux_kernel_diagram" {
|
|||
label = "Linux kernel diagram",
|
||||
shape = plain,
|
||||
style = ""]
|
||||
LKD -> processing [ style = invis]
|
||||
LKD -> processing [style = invis]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue