From 33462af677b4c87f8392ade389cbb95f9bfbfd14 Mon Sep 17 00:00:00 2001 From: Costa Shulyupin Date: Thu, 21 Nov 2019 20:38:30 +0200 Subject: [PATCH] scale --- Linux_kernel_diagram.dot | 92 +++++++++++++++++++++------------------- 1 file changed, 48 insertions(+), 44 deletions(-) diff --git a/Linux_kernel_diagram.dot b/Linux_kernel_diagram.dot index 632d98e..95b3a25 100644 --- a/Linux_kernel_diagram.dot +++ b/Linux_kernel_diagram.dot @@ -3,17 +3,20 @@ digraph matrix { nodesep=0.1, overlap=true, ranksep=0.1, - splines=false + splines=false, ]; node [fixedsize=false, - height=0.5, + fontname=Ubuntu + fontsize=24, + height=1, shape=box, style="filled,setlinewidth(3)", - width=1.1 + width=2.2 ]; edge [arrowhead=none, arrowsize=0.5, style=invis, + labelfontname="Ubuntu", weight=10 ]; { @@ -27,10 +30,10 @@ digraph matrix { system [color="#e27dd6ff", fillcolor=white, fixedsize=true, - height=0.3, + height=0.6, row=func, tooltip=TODO, - width=1]; + width=2]; system -> system_ [arrowhead="", color="#e27dd6ff", row=func, @@ -49,16 +52,16 @@ digraph matrix { DM [color="#e27dd6ff", fillcolor="#91b5c9", fixedsize=true, - fontsize=10, - height=0.4, + fontsize=20, + height=0.8, label="Device\nModel", shape=octagon, - width=1]; + width=2]; sysfs -> DM [color="#e27dd6ff", style="filled,setlinewidth(3)"]; log_sys [color="#e27dd6ff", fillcolor="#6a9ab1", - fontsize=10, + fontsize=20, label="system run,\nmodules,\ngeneric\nHW access "]; DM -> log_sys [color="#e27dd6ff", style="filled,setlinewidth(3)"]; @@ -70,7 +73,7 @@ digraph matrix { H2 [color="#e27dd6ff", fillcolor="#777777", fontcolor=white, - fontsize=10, + fontsize=20, label="busess:\nPCI, USB ...", row=chip]; bus_drv -> H2 [color="#e27dd6ff", @@ -88,9 +91,9 @@ digraph matrix { networking [color="#61c2c5", fillcolor=white, fixedsize=true, - height=0.3, + height=0.6, row=func, - width=1]; + width=2]; networking -> networking_ [arrowhead="", color="#61c2c5", row=func, @@ -113,14 +116,14 @@ digraph matrix { style="filled,setlinewidth(3)"]; netif [color="#61c2c5", fillcolor="#71809b", - fontsize=10, + fontsize=20, label="network\ninterfaces\nand drivers"]; log_prot -> netif [color="#61c2c5", style="filled,setlinewidth(3)"]; net_hw [color="#61c2c5", fillcolor="#777777", fontcolor=white, - fontsize=10, + fontsize=20, label="network:\nEthernet, WiFi ...", row=chip]; netif -> net_hw [color="#61c2c5", @@ -128,10 +131,10 @@ digraph matrix { NFS [color="#8383cc", fillcolor="#91b5c9", fixedsize=true, - height=0.4, + height=0.8, label=NFS, shape=octagon, - width=0.6]; + width=1.2]; NFS -> log_prot [color="#61c2c5", style="filled,setlinewidth(3)", weight=0]; @@ -149,9 +152,9 @@ digraph matrix { storage [color="#8383cc", fillcolor=white, fixedsize=true, - height=0.3, + height=0.6, row=func, - width=1]; + width=2]; storage -> storage_ [arrowhead="", color="#8383cc", row=func, @@ -172,35 +175,35 @@ digraph matrix { weight=0]; logFS [color="#8383cc", fillcolor="#6a9ab1", - fontsize=10, + fontsize=20, label="logical\nfilesystems:\next3, xfs ..."]; VFS -> logFS [color="#8383cc", style="filled,setlinewidth(3)"]; PC [color="#51bf5b", fillcolor="#91b5c9", fixedsize=true, - fontsize=10, - height=0.4, + fontsize=20, + height=0.8, label="page\ncache", shape=octagon, - width=0.6]; + width=1.2]; VFS -> PC [color="#8383cc", style="filled,setlinewidth(3)", weight=0]; mmap [color="#51bf5b", fillcolor="#91b5c9", fixedsize=true, - fontsize=10, - height=0.4, + fontsize=20, + height=0.8, label="memory\nmapping", shape=octagon, - width=1]; + width=2]; VFS -> mmap [color="#8383cc", style="filled,setlinewidth(3)", weight=0]; block [color="#8383cc", fillcolor="#71809b", - fontsize=10, + fontsize=20, label="Block\ndevices\nand drivers"]; logFS -> block [color="#8383cc", style="filled,setlinewidth(3)"]; @@ -213,7 +216,7 @@ digraph matrix { H4 [color="#8383cc", fillcolor="#777777", fontcolor=white, - fontsize=10, + fontsize=20, label="storage devices:\nSCSI, NVMe ...", row=chip]; block -> H4 [color="#8383cc", @@ -222,8 +225,9 @@ digraph matrix { fillcolor="#91b5c9", fixedsize=true, label=Swap, + height=0.8, shape=octagon, - width=0.6]; + width=1.2]; SW -> block [color="#8383cc", style="filled,setlinewidth(3)", weight=0]; @@ -242,9 +246,9 @@ digraph matrix { processing [color="#c46747", fillcolor=white, fixedsize=true, - height=0.3, + height=0.6, row=func, - width=1]; + width=2]; processing -> processing_ [arrowhead="", color="#c46747", row=func, @@ -262,7 +266,7 @@ digraph matrix { sync [color="#c46747", fillcolor="#91b5c9", fixedsize=true, - fontsize=10, + fontsize=20, label=synchronization, shape=octagon]; Tasks -> sync [color="#c46747", @@ -274,14 +278,14 @@ digraph matrix { style="filled,setlinewidth(3)"]; IRQ [color="#c46747", fillcolor="#71809b", - fontsize=10, + fontsize=20, label="interrupts\ncore,\nCPU arch"]; sched -> IRQ [color="#c46747", style="filled,setlinewidth(3)"]; CPU [color="#c46747", fillcolor="#777777", fontcolor=white, - fontsize=10, + fontsize=20, row=chip]; IRQ -> CPU [color="#c46747", style="filled,setlinewidth(3)"]; @@ -302,11 +306,11 @@ digraph matrix { HI [color="#cfbf57ff", fillcolor=white, fixedsize=true, - fontsize=11, - height=0.3, + fontsize=20, + height=0.6, label="human\ninterface", row=func, - width=1]; + width=2]; HI -> HI_ [arrowhead="", color="#cfbf57ff", row=func, @@ -329,14 +333,14 @@ digraph matrix { style="filled,setlinewidth(3)"]; G7 [color="#cfbf57ff", fillcolor="#71809b", - fontsize=10, + fontsize=20, label="HI\nperipherals\ndrivers"]; F7 -> G7 [color="#cfbf57ff", style="filled,setlinewidth(3)"]; H7 [color="#cfbf57ff", fillcolor="#777777", fontcolor=white, - fontsize=10, + fontsize=20, label="display, keyboard,\nmouse, audio", row=chip]; G7 -> H7 [color="#cfbf57ff", @@ -355,9 +359,9 @@ digraph matrix { memory [color="#51bf5b", fillcolor=white, fixedsize=true, - height=0.3, + height=0.6, row=func, - width=1]; + width=2]; storage -> memory [weight=1]; processing; HI; @@ -372,10 +376,10 @@ digraph matrix { functions [color=gray, fillcolor=gray, fixedsize=true, - height=0.3, + height=0.6, row=func, style=dashed, - width=0.8]; + width=1.6]; functions -> functions_ [arrowhead="", color=gray, style="", @@ -522,7 +526,7 @@ digraph matrix { H5 [color="#51bf5b", fillcolor="#777777", fontcolor=white, - fontsize=10, + fontsize=20, label="MMU, RAM", row=chip]; } @@ -614,7 +618,7 @@ digraph matrix { layers -> usr [arrowhead="", color=gray, style="filled,setlinewidth(1)"]; - LKD [fontsize=20, + LKD [fontsize=40, label="Linux kernel diagram", shape=plain, style=""];