many updates
[phd-thesis.git] / intro / iot-layers.tex
index b2f5852..06298c0 100644 (file)
@@ -1,17 +1,31 @@
 \documentclass[tikz]{standalone}
 \usetikzlibrary{positioning}
 \begin{document}
-\begin{tikzpicture}[node distance=1em,nodes={rectangle,draw,minimum width=10em}]
+\begin{tikzpicture}[node distance=3em,nodes={rectangle,draw,minimum width=12em}]
 %      \node (0) [dotted] {Business layer};
 %      \node (1) [below=of 0] {Presentation layer};
        \node (1) [] {Presentation layer};
        \node (2) [below=of 1] {Application layer};
-       \node (3) [below=of 2] {Network layer};
-       \node (4) [below=of 3] {Perception layer};
+%      \node (3) [below=of 2] {Network layer};
+       \node (3) [below=of 2] {Perception layer};
 
-%      \draw [<->] (0) -- (1);
        \draw [<->] (1) -- (2);
        \draw [<->] (2) -- (3);
-       \draw [<->] (3) -- (4);
+
+       \draw  [fill=white]
+                  ([xshift=1em,yshift=-2em]1.south west)
+               -- ([xshift=1em,yshift=-1em]1.south west)
+               -- ([yshift=-1em,xshift=1em]1.south east)
+               -- ([xshift=1em]1.north east)
+               -- ([xshift=3em]1.north east)
+               -- node [draw=none,midway,sloped,below,yshift=-2pt] {Network layer} ([xshift=3em]3.south east)
+               -- ([xshift=1em]3.south east)
+               -- ([yshift=1em,xshift=1em]3.north east)
+               -- ([xshift=1em,yshift=1em]3.north west)
+               -- ([xshift=1em,yshift=2em]3.north west)
+               -- ([yshift=2em,xshift=1em]3.north east)
+               -- ([yshift=-2em,xshift=1em]1.south east)
+               -- cycle;
+               ;
 \end{tikzpicture}
 \end{document}