diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-07-20 20:36:44 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-07-20 20:39:07 +0200 |
| commit | 00f9fdf7db792d942180a31253b349803d5683cd (patch) | |
| tree | 972da51a45a4c804eb0d6706e2db1d96d3a7a69f /course/figures/stack.tikz | |
| parent | df66d76b5b29703f1822beda897dd92c5f90af5e (diff) | |
| download | SOS-00f9fdf7db792d942180a31253b349803d5683cd.tar.gz SOS-00f9fdf7db792d942180a31253b349803d5683cd.zip | |
add first version of the SOS workbook
Diffstat (limited to 'course/figures/stack.tikz')
| -rw-r--r-- | course/figures/stack.tikz | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/course/figures/stack.tikz b/course/figures/stack.tikz new file mode 100644 index 0000000..229952d --- /dev/null +++ b/course/figures/stack.tikz @@ -0,0 +1,23 @@ +\begin{tikzpicture}[layer/.style={draw, minimum width=5cm, minimum height=1cm}] +\node[layer, fill=gray] (h) {}; +\node[layer, above=0cm of h] (os) {Betriebssystem}; +\node[layer, above=0cm of os] (shell) {Nutzerschnittstelle}; +\node[layer, above=0cm of shell] (utils) {}; + +\node[draw, circle, fill=gray!70, minimum size=0.5cm, above=0.25cm of shell, xshift=-1.2cm] (u1) {}; +\node[draw, circle, fill=gray!70, minimum size=0.5cm, above=0.25cm of shell] (u2) {}; +\node[draw, circle, fill=gray!70, minimum size=0.5cm, above=0.25cm of shell, xshift=1.2cm] (u3) {}; + +\draw[Latex-] (u1) -- ($(u1) + (-1.8, 1)$) node[above, text width=1cm] {\small Webbrowser}; +\draw[Latex-] (u2) -- ($(u2) + (0, 1)$) node[above, align=center, text width=2cm] {\small E-Mail Programm}; +\draw[Latex-] (u3) -- ($(u3) + (0.75, 1)$) node[above, text width=1cm] {\small Mediaplayer}; + +\draw[decoration={brace, raise=3pt}, decorate] + (h.north east) -- node[right, xshift=0.2cm] {Hardware} (h.south east); +\draw[decoration={brace, raise=3pt}, decorate] + (utils.north east) -- node[right, xshift=0.2cm] {Software} (h.north east); +\draw[decoration={brace, mirror, raise=3pt}, decorate] + (os.north west) -- node[left, xshift=-0.2cm] {kernel mode} (os.south west); +\draw[decoration={brace, raise=3pt}, decorate] + (shell.south west) -- node[left, xshift=-0.2cm] {user mode} (utils.north west); +\end{tikzpicture} |
